34 lines
591 B
JSON
34 lines
591 B
JSON
{
|
|
"name": "WorkCenterHoliday",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "workCenterHoliday"
|
|
}
|
|
},
|
|
"properties": {
|
|
"workCenterFk": {
|
|
"id": true,
|
|
"type": "number"
|
|
},
|
|
"days": {
|
|
"type": "number"
|
|
},
|
|
"year": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"relations": {
|
|
"workCenter": {
|
|
"type": "belongsTo",
|
|
"model": "WorkCenter",
|
|
"foreignKey": "workCenterFk"
|
|
}
|
|
},
|
|
"acls": [{
|
|
"accessType": "READ",
|
|
"principalType": "ROLE",
|
|
"principalId": "$everyone",
|
|
"permission": "ALLOW"
|
|
}]
|
|
} |