39 lines
794 B
JSON
39 lines
794 B
JSON
{
|
|
"name": "InvoiceInConfig",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "invoiceInConfig"
|
|
}
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"id": true,
|
|
"type": "number",
|
|
"description": "Identifier"
|
|
},
|
|
"retentionRate": {
|
|
"type": "number"
|
|
},
|
|
"retentionName": {
|
|
"type": "string"
|
|
},
|
|
"daysAgo": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"relations": {
|
|
"sageWithholding": {
|
|
"type": "belongsTo",
|
|
"model": "SageWithholding",
|
|
"foreignKey": "sageFarmerWithholdingFk"
|
|
}
|
|
},
|
|
"acls": [{
|
|
"accessType": "READ",
|
|
"principalType": "ROLE",
|
|
"principalId": "$everyone",
|
|
"permission": "ALLOW"
|
|
}]
|
|
}
|