Merge branch '2040_view_holiday' of verdnatura/salix into dev
gitea/salix/dev This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-02-04 11:16:39 +00:00 committed by Gitea
commit e76298b00e
4 changed files with 9 additions and 9 deletions

View File

@ -8,10 +8,10 @@
"Holiday": {
"dataSource": "vn"
},
"HolidayDetail": {
"CalendarHolidaysName": {
"dataSource": "vn"
},
"HolidayType": {
"CalendarHolidaysType": {
"dataSource": "vn"
},
"WorkCenter": {

View File

@ -1,9 +1,9 @@
{
"name": "HolidayDetail",
"name": "CalendarHolidaysName",
"base": "VnModel",
"options": {
"mysql": {
"table": "holidayDetail"
"table": "calendarHolidaysName"
}
},
"properties": {
@ -11,7 +11,7 @@
"id": true,
"type": "Number"
},
"description": {
"name": {
"type": "String"
}
},

View File

@ -1,9 +1,9 @@
{
"name": "HolidayType",
"name": "CalendarHolidaysType",
"base": "VnModel",
"options": {
"mysql": {
"table": "holidayType"
"table": "calendarHolidaysType"
}
},
"properties": {

View File

@ -22,12 +22,12 @@
"relations": {
"detail": {
"type": "belongsTo",
"model": "HolidayDetail",
"model": "CalendarHolidaysName",
"foreignKey": "holidayDetailFk"
},
"type": {
"type": "belongsTo",
"model": "HolidayType",
"model": "CalendarHolidaysType",
"foreignKey": "holidayTypeFk"
},
"workCenter": {