2018-07-30 12:10:09 +00:00
|
|
|
{
|
|
|
|
"name": "ClaimDestination",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "claimDestination",
|
|
|
|
"database": "vn"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "Number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "String",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
},
|
2018-10-08 05:31:55 +00:00
|
|
|
"relations": {
|
|
|
|
"address": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Address",
|
|
|
|
"foreignKey": "addressFk"
|
|
|
|
}
|
|
|
|
},
|
2018-07-30 12:10:09 +00:00
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"accessType": "READ",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|