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

53 lines
1.1 KiB
JSON
Raw Normal View History

{
"name": "ClaimState",
2022-03-01 14:15:58 +00:00
"base": "Loggable",
"log": {
"model": "ClaimLog",
"relation": "claim",
"showField": "description"
},
"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",
2020-05-15 12:47:19 +00:00
"required": true
},
"description": {
"type": "string",
"required": true
2020-05-18 11:46:45 +00:00
},
"priority": {
"type": "number",
"required": true
},
"hasToNotify": {
"type": "boolean",
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"
}
]
}