salix/modules/worker/back/models/work-center-holiday.json

34 lines
591 B
JSON
Raw Normal View History

2019-03-22 07:28:57 +00:00
{
"name": "WorkCenterHoliday",
"base": "VnModel",
"options": {
"mysql": {
"table": "workCenterHoliday"
}
},
"properties": {
"workCenterFk": {
"id": true,
2022-05-12 07:47:47 +00:00
"type": "number"
2019-03-22 07:28:57 +00:00
},
"days": {
2022-05-12 07:47:47 +00:00
"type": "number"
2019-03-22 07:28:57 +00:00
},
"year": {
2022-05-12 07:47:47 +00:00
"type": "number"
2019-03-22 07:28:57 +00:00
}
},
"relations": {
"workCenter": {
"type": "belongsTo",
"model": "WorkCenter",
"foreignKey": "workCenterFk"
}
},
"acls": [{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}]
}