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",
|
||||
"base": "VnModel",
|
||||
"base": "Loggable",
|
||||
"log": {
|
||||
"model": "WorkerLog",
|
||||
"relation": "labour"
|
||||
},
|
||||
"options": {
|
||||
"mysql": {
|
||||
"table": "calendar"
|
||||
|
@ -23,6 +27,11 @@
|
|||
"type": "belongsTo",
|
||||
"model": "AbsenceType",
|
||||
"foreignKey": "dayOffTypeFk"
|
||||
},
|
||||
"labour": {
|
||||
"type": "belongsTo",
|
||||
"model": "WorkerLabour",
|
||||
"foreignKey": "businessFk"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue