salix/back/models/accounting-type.json

39 lines
835 B
JSON
Raw Normal View History

2020-08-27 06:24:21 +00:00
{
"name": "AccountingType",
"base": "VnModel",
"options": {
"mysql": {
"table": "accountingType"
}
},
"properties": {
"id": {
2021-01-21 10:02:48 +00:00
"type": "number",
2020-08-27 06:24:21 +00:00
"id": true,
"description": "Identifier"
},
"description": {
2021-01-21 10:02:48 +00:00
"type": "string",
2020-08-27 06:24:21 +00:00
"required": true
},
"receiptDescription": {
2021-01-21 10:02:48 +00:00
"type": "string",
2020-08-27 06:24:21 +00:00
"required": true
2020-12-16 07:33:08 +00:00
},
"code": {
2021-01-21 10:02:48 +00:00
"type": "string"
},
"isAutoConciliated": {
"type": "boolean"
},
"maxAmount": {
"type": "number"
2020-08-27 06:24:21 +00:00
}
},
"acls": [{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}]
}