salix/modules/worker/back/models/calendar-holiday.json

45 lines
831 B
JSON
Raw Permalink Normal View History

2019-01-21 10:45:53 +00:00
{
2020-03-12 09:59:41 +00:00
"name": "CalendarHoliday",
2019-01-21 10:45:53 +00:00
"base": "VnModel",
"options": {
"mysql": {
2020-03-12 09:59:41 +00:00
"table": "calendarHolidays"
2019-01-21 10:45:53 +00:00
}
},
"properties": {
2020-03-12 09:59:41 +00:00
"calendarHolidaysNameFk": {
2019-01-21 10:45:53 +00:00
"id": true,
2022-05-12 07:47:47 +00:00
"type": "number"
2019-01-21 10:45:53 +00:00
},
2020-03-12 09:59:41 +00:00
"calendarHolidaysTypeFk": {
2019-01-21 10:45:53 +00:00
"id": true,
2022-05-12 07:47:47 +00:00
"type": "number"
2019-01-21 10:45:53 +00:00
},
"dated": {
"type": "date"
2019-01-21 10:45:53 +00:00
}
},
"relations": {
2019-03-22 07:28:57 +00:00
"detail": {
2019-01-21 10:45:53 +00:00
"type": "belongsTo",
2020-02-04 10:20:05 +00:00
"model": "CalendarHolidaysName",
2020-03-13 12:10:04 +00:00
"foreignKey": "calendarHolidaysNameFk"
2019-01-21 10:45:53 +00:00
},
"type": {
"type": "belongsTo",
2020-02-04 10:20:05 +00:00
"model": "CalendarHolidaysType",
2020-03-13 12:10:04 +00:00
"foreignKey": "calendarHolidaysTypeFk"
2019-01-21 10:45:53 +00:00
},
"workCenter": {
"type": "belongsTo",
"model": "WorkCenter",
"foreignKey": "workCenterFk"
}
2019-03-22 07:28:57 +00:00
},
"acls": [{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}]
2019-01-21 10:45:53 +00:00
}