Merge pull request 'feat front-reservas refs #6861' (!2642) from 6861-Reservas-front into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #2642 Reviewed-by: Carlos Andrés <carlosap@verdnatura.es>
This commit is contained in:
commit
97655bf1e3
|
@ -26,29 +26,33 @@
|
||||||
},
|
},
|
||||||
"labelerFk": {
|
"labelerFk": {
|
||||||
"type": "number"
|
"type": "number"
|
||||||
|
},
|
||||||
|
"isOnReservationMode": {
|
||||||
|
"type": "boolean",
|
||||||
|
"required": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"relations": {
|
"relations": {
|
||||||
"sector": {
|
"sector": {
|
||||||
"type": "belongsTo",
|
"type": "belongsTo",
|
||||||
"model": "Sector",
|
"model": "Sector",
|
||||||
"foreignKey": "sectorFk"
|
"foreignKey": "sectorFk"
|
||||||
},
|
},
|
||||||
"train": {
|
"train": {
|
||||||
"type": "belongsTo",
|
"type": "belongsTo",
|
||||||
"model": "Train",
|
"model": "Train",
|
||||||
"foreignKey": "trainFk"
|
"foreignKey": "trainFk"
|
||||||
},
|
},
|
||||||
"printer": {
|
"printer": {
|
||||||
"type": "belongsTo",
|
"type": "belongsTo",
|
||||||
"model": "Printer",
|
"model": "Printer",
|
||||||
"foreignKey": "labelerFk"
|
"foreignKey": "labelerFk"
|
||||||
},
|
},
|
||||||
"itemPackingType": {
|
"itemPackingType": {
|
||||||
"type": "belongsTo",
|
"type": "belongsTo",
|
||||||
"model": "ItemPackingType",
|
"model": "ItemPackingType",
|
||||||
"foreignKey": "itemPackingTypeFk",
|
"foreignKey": "itemPackingTypeFk",
|
||||||
"primaryKey": "code"
|
"primaryKey": "code"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue