salix/modules/worker/back/models/operator.json

39 lines
579 B
JSON
Raw Normal View History

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"
},
"labelerFk": {
2023-03-17 07:46:01 +00:00
"type": "number"
}
},
"relations": {
"sector": {
"type": "belongsTo",
"model": "Sector",
"foreignKey": "sectorFk"
}
}
}