2017-12-20 08:53:50 +00:00
|
|
|
{
|
2021-07-27 07:07:04 +00:00
|
|
|
"name": "InvoiceOutSerial",
|
2017-12-20 08:53:50 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2021-07-27 07:07:04 +00:00
|
|
|
"table": "invoiceOutSerial"
|
2017-12-20 08:53:50 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
2021-07-27 07:07:04 +00:00
|
|
|
"code": {
|
|
|
|
"type": "string",
|
2017-12-20 08:53:50 +00:00
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
2021-07-27 07:07:04 +00:00
|
|
|
"description": {
|
|
|
|
"type": "string"
|
2017-12-20 08:53:50 +00:00
|
|
|
},
|
2021-07-27 07:07:04 +00:00
|
|
|
"isTaxed": {
|
|
|
|
"type": "boolean"
|
2017-12-20 08:53:50 +00:00
|
|
|
},
|
2021-07-27 07:07:04 +00:00
|
|
|
"isCEE": {
|
|
|
|
"type": "boolean"
|
2017-12-20 08:53:50 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
2021-07-27 07:07:04 +00:00
|
|
|
"taxArea": {
|
2017-12-20 08:53:50 +00:00
|
|
|
"type": "belongsTo",
|
2021-07-27 07:07:04 +00:00
|
|
|
"model": "TaxArea",
|
|
|
|
"foreignKey": "taxAreaFk"
|
2017-12-20 08:53:50 +00:00
|
|
|
}
|
2018-02-21 08:28:17 +00:00
|
|
|
},
|
2021-07-27 07:07:04 +00:00
|
|
|
"acls": [{
|
2018-02-21 08:28:17 +00:00
|
|
|
"accessType": "READ",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
|
|
|
"permission": "ALLOW"
|
2021-07-27 07:07:04 +00:00
|
|
|
}]
|
2017-12-20 08:53:50 +00:00
|
|
|
}
|