36 lines
719 B
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"
|
|
}
|
|
]
|
|
}
|