salix/services/claim/common/models/claim-destination.json

37 lines
749 B
JSON

{
"name": "ClaimDestination",
"base": "VnModel",
"options": {
"mysql": {
"table": "claimDestination",
"database": "vn"
}
},
"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"
}
]
}