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

44 lines
868 B
JSON
Raw Normal View History

{
"name": "ClaimState",
"base": "VnModel",
"options": {
"mysql": {
2018-12-17 10:28:39 +00:00
"table": "claimState"
}
},
"properties": {
"id": {
"type": "Number",
"id": true,
"description": "Identifier"
},
2020-05-15 12:47:19 +00:00
"code": {
"type": "String",
"required": true
},
"description": {
"type": "String",
"required": true
2020-05-18 11:46:45 +00:00
},
"priority": {
2020-05-21 07:28:50 +00:00
"type": "Number",
2020-05-18 11:46:45 +00:00
"required": true
}
},
"relations": {
"writeRole": {
"type": "belongsTo",
"model": "Role",
"foreignKey": "roleFk"
}
},
"acls": [
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}
]
}