2018-07-30 12:10:09 +00:00
|
|
|
{
|
|
|
|
"name": "ClaimState",
|
2022-03-01 14:15:58 +00:00
|
|
|
"base": "Loggable",
|
2018-07-30 12:10:09 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2018-12-17 10:28:39 +00:00
|
|
|
"table": "claimState"
|
2018-07-30 12:10:09 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
2022-03-21 09:02:56 +00:00
|
|
|
"type": "number",
|
2018-07-30 12:10:09 +00:00
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
2020-05-15 12:47:19 +00:00
|
|
|
"code": {
|
2022-03-21 09:02:56 +00:00
|
|
|
"type": "string",
|
2020-05-15 12:47:19 +00:00
|
|
|
"required": true
|
|
|
|
},
|
2018-07-30 12:10:09 +00:00
|
|
|
"description": {
|
2022-03-21 09:02:56 +00:00
|
|
|
"type": "string",
|
2018-07-30 12:10:09 +00:00
|
|
|
"required": true
|
2020-05-18 11:46:45 +00:00
|
|
|
},
|
|
|
|
"priority": {
|
2022-03-21 09:02:56 +00:00
|
|
|
"type": "number",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"hasToNotify": {
|
|
|
|
"type": "boolean",
|
2020-05-18 11:46:45 +00:00
|
|
|
"required": true
|
2018-07-30 12:10:09 +00:00
|
|
|
}
|
|
|
|
},
|
2019-05-07 06:18:14 +00:00
|
|
|
"relations": {
|
2019-09-26 07:13:18 +00:00
|
|
|
"writeRole": {
|
2019-05-07 06:18:14 +00:00
|
|
|
"type": "belongsTo",
|
2023-11-28 07:12:16 +00:00
|
|
|
"model": "VnRole",
|
2019-05-07 06:18:14 +00:00
|
|
|
"foreignKey": "roleFk"
|
|
|
|
}
|
|
|
|
},
|
2018-07-30 12:10:09 +00:00
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"accessType": "READ",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|