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": { "Holiday": {
"dataSource": "vn" "dataSource": "vn"
}, },
"HolidayDetail": { "CalendarHolidaysName": {
"dataSource": "vn" "dataSource": "vn"
}, },
"HolidayType": { "CalendarHolidaysType": {
"dataSource": "vn" "dataSource": "vn"
}, },
"WorkCenter": { "WorkCenter": {

View File

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

View File

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

View File

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