2018-07-30 12:10:09 +00:00
|
|
|
{
|
|
|
|
"name": "ClaimState",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2018-12-17 10:28:39 +00:00
|
|
|
"table": "claimState"
|
2018-07-30 12:10:09 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "Number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
2020-05-15 12:47:19 +00:00
|
|
|
"code": {
|
|
|
|
"type": "String",
|
|
|
|
"required": true
|
|
|
|
},
|
2018-07-30 12:10:09 +00:00
|
|
|
"description": {
|
|
|
|
"type": "String",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
},
|
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",
|
|
|
|
"model": "Role",
|
|
|
|
"foreignKey": "roleFk"
|
|
|
|
}
|
|
|
|
},
|
2018-07-30 12:10:09 +00:00
|
|
|
"acls": [
|
|
|
|
{
|
|
|
|
"accessType": "READ",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|