2017-12-20 08:53:50 +00:00
|
|
|
{
|
|
|
|
"name": "TaxCode",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2018-01-29 11:37:54 +00:00
|
|
|
"table": "taxCode"
|
2017-12-20 08:53:50 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2017-12-20 08:53:50 +00:00
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"dated": {
|
|
|
|
"type": "date"
|
|
|
|
},
|
|
|
|
"code": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string"
|
2017-12-20 08:53:50 +00:00
|
|
|
},
|
|
|
|
"rate": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"equalizationTax": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"type": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string"
|
2017-12-20 08:53:50 +00:00
|
|
|
},
|
|
|
|
"isActive": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "boolean"
|
2017-12-20 08:53:50 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"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
|
|
|
}
|