update models
gitea/salix/2040_view_holiday This commit looks good
Details
gitea/salix/2040_view_holiday This commit looks good
Details
This commit is contained in:
parent
711e973c23
commit
89dc8e27e0
|
@ -8,10 +8,10 @@
|
|||
"Holiday": {
|
||||
"dataSource": "vn"
|
||||
},
|
||||
"HolidayDetail": {
|
||||
"CalendarHolidaysName": {
|
||||
"dataSource": "vn"
|
||||
},
|
||||
"HolidayType": {
|
||||
"CalendarHolidaysType": {
|
||||
"dataSource": "vn"
|
||||
},
|
||||
"WorkCenter": {
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
},
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"name": "HolidayType",
|
||||
"name": "CalendarHolidaysType",
|
||||
"base": "VnModel",
|
||||
"options": {
|
||||
"mysql": {
|
||||
"table": "holidayType"
|
||||
"table": "calendarHolidaysType"
|
||||
}
|
||||
},
|
||||
"properties": {
|
|
@ -22,12 +22,12 @@
|
|||
"relations": {
|
||||
"detail": {
|
||||
"type": "belongsTo",
|
||||
"model": "HolidayDetail",
|
||||
"model": "CalendarHolidaysName",
|
||||
"foreignKey": "holidayDetailFk"
|
||||
},
|
||||
"type": {
|
||||
"type": "belongsTo",
|
||||
"model": "HolidayType",
|
||||
"model": "CalendarHolidaysType",
|
||||
"foreignKey": "holidayTypeFk"
|
||||
},
|
||||
"workCenter": {
|
||||
|
|
Loading…
Reference in New Issue