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

46 lines
994 B
JSON
Raw Normal View History

2020-02-17 11:47:03 +00:00
{
"name": "TaxClassCode",
"base": "VnModel",
"options": {
"mysql": {
"table": "taxClassCode"
}
},
"properties": {
"taxClassFk": {
"type": "number",
"required": true,
"id": 1
2020-02-17 11:47:03 +00:00
},
"taxCodeFk": {
"type": "number",
"required": true,
"id": 2
},
"effectived": {
"type": "date",
"required": true,
"id": 3
2020-02-17 11:47:03 +00:00
}
},
"relations": {
"taxClass": {
"type": "belongsTo",
"model": "TaxClass",
"foreignKey": "taxClassFk"
},
"taxCode": {
"type": "belongsTo",
"model": "TaxCode",
"foreignKey": "taxCodeFk"
}
},
"acls": [
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}
]
}