2018-01-17 13:28:06 +00:00
|
|
|
{
|
2019-12-13 10:59:25 +00:00
|
|
|
"name": "Expense",
|
2018-01-17 13:28:06 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2018-01-29 11:37:54 +00:00
|
|
|
"table": "expence"
|
2018-01-17 13:28:06 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"id": true,
|
|
|
|
"type": "Number",
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "String"
|
|
|
|
},
|
|
|
|
"isWithheld": {
|
|
|
|
"type": "Number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"taxType": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "TaxType",
|
|
|
|
"foreignKey": "taxTypeFk"
|
|
|
|
}
|
2018-02-21 08:28:17 +00:00
|
|
|
},
|
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"accessType": "READ",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}
|
|
|
|
]
|
2018-01-17 13:28:06 +00:00
|
|
|
}
|