salix/modules/item/back/models/expense.json

37 lines
719 B
JSON
Raw Normal View History

{
"name": "Expense",
"base": "VnModel",
"options": {
"mysql": {
"table": "expence"
}
},
"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"
}
]
}