salix/modules/invoiceOut/back/models/tax-code.json

54 lines
1.1 KiB
JSON
Raw Normal View History

2017-12-20 08:53:50 +00:00
{
"name": "TaxCode",
"base": "VnModel",
"options": {
"mysql": {
"table": "taxCode"
2017-12-20 08:53:50 +00:00
}
},
"properties": {
"id": {
"type": "Number",
"id": true,
"description": "Identifier"
},
"dated": {
"type": "date"
},
"code": {
"type": "String"
},
"rate": {
"type": "number"
},
"equalizationTax": {
"type": "number"
},
"type": {
"type": "String"
},
"isActive": {
"type": "Boolean"
}
},
"relations": {
"taxType": {
"type": "belongsTo",
"model": "TaxType",
"foreignKey": "taxTypeFk"
},
"link": {
"type": "belongsTo",
"model": "Link",
"foreignKey": "linkFk"
}
2018-02-21 08:28:17 +00:00
},
"acls": [
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}
]
2017-12-20 08:53:50 +00:00
}