7691-testToMaster #2703
|
@ -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