Enabled loggable on calendar model
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
eb99ce2f43
commit
58965a9687
|
@ -1,6 +1,10 @@
|
||||||
{
|
{
|
||||||
"name": "Calendar",
|
"name": "Calendar",
|
||||||
"base": "VnModel",
|
"base": "Loggable",
|
||||||
|
"log": {
|
||||||
|
"model": "WorkerLog",
|
||||||
|
"relation": "labour"
|
||||||
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"mysql": {
|
"mysql": {
|
||||||
"table": "calendar"
|
"table": "calendar"
|
||||||
|
@ -23,6 +27,11 @@
|
||||||
"type": "belongsTo",
|
"type": "belongsTo",
|
||||||
"model": "AbsenceType",
|
"model": "AbsenceType",
|
||||||
"foreignKey": "dayOffTypeFk"
|
"foreignKey": "dayOffTypeFk"
|
||||||
|
},
|
||||||
|
"labour": {
|
||||||
|
"type": "belongsTo",
|
||||||
|
"model": "WorkerLabour",
|
||||||
|
"foreignKey": "businessFk"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue