salix/modules/claim/back/models/claim-destination.json

36 lines
719 B
JSON

{
"name": "ClaimDestination",
"base": "VnModel",
"options": {
"mysql": {
"table": "claimDestination"
}
},
"properties": {
"id": {
"type": "number",
"id": true,
"description": "Identifier"
},
"description": {
"type": "string",
"required": true
}
},
"relations": {
"address": {
"type": "belongsTo",
"model": "Address",
"foreignKey": "addressFk"
}
},
"acls": [
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}
]
}