Enabled loggable on calendar model
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-09-30 07:38:43 +02:00
parent eb99ce2f43
commit 58965a9687
1 changed files with 10 additions and 1 deletions

View File

@ -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"
}
}
}