2018-03-14 11:06:21 +00:00
|
|
|
{
|
|
|
|
"name": "ComponentRate",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
2018-04-13 14:03:43 +00:00
|
|
|
"mysql": {
|
2018-03-14 11:06:21 +00:00
|
|
|
"table": "componentRate"
|
2018-04-13 14:03:43 +00:00
|
|
|
}
|
2018-03-14 11:06:21 +00:00
|
|
|
},
|
|
|
|
"properties": {
|
2018-04-13 14:03:43 +00:00
|
|
|
"id": {
|
|
|
|
"id": true,
|
|
|
|
"type": "Number",
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "String"
|
|
|
|
},
|
|
|
|
"classRate": {
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"tax": {
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"isRenewable": {
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"componentTypeRate": {
|
|
|
|
"type": "Number"
|
2019-05-28 09:26:54 +00:00
|
|
|
},
|
|
|
|
"code": {
|
|
|
|
"type": "String"
|
2018-04-13 14:03:43 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"componentType": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "ComponentTypeRate",
|
|
|
|
"foreignKey": "componentTypeRate"
|
|
|
|
}
|
2018-03-14 11:06:21 +00:00
|
|
|
},
|
|
|
|
"acls": [
|
2018-04-13 14:03:43 +00:00
|
|
|
{
|
|
|
|
"accessType": "READ",
|
|
|
|
"principalType": "ROLE",
|
|
|
|
"principalId": "$everyone",
|
|
|
|
"permission": "ALLOW"
|
|
|
|
}
|
2018-03-14 11:06:21 +00:00
|
|
|
]
|
2018-04-13 14:03:43 +00:00
|
|
|
}
|