2023-03-17 07:46:01 +00:00
|
|
|
{
|
|
|
|
"name": "Operator",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "operator"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"workerFk": {
|
|
|
|
"id": true,
|
|
|
|
"type": "number",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"numberOfWagons": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"trainFk": {
|
2023-06-22 06:56:27 +00:00
|
|
|
"type": "number"
|
2023-03-17 07:46:01 +00:00
|
|
|
},
|
|
|
|
"itemPackingTypeFk": {
|
2023-06-22 06:56:27 +00:00
|
|
|
"type": "string"
|
2023-03-17 07:46:01 +00:00
|
|
|
},
|
|
|
|
"warehouseFk": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
2023-05-10 11:22:53 +00:00
|
|
|
"labelerFk": {
|
2023-03-17 07:46:01 +00:00
|
|
|
"type": "number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"sector": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Sector",
|
|
|
|
"foreignKey": "sectorFk"
|
|
|
|
}
|
|
|
|
}
|
2023-05-10 11:22:53 +00:00
|
|
|
}
|