salix/modules/client/back/models/business.json

31 lines
609 B
JSON
Raw Normal View History

2022-10-21 06:00:48 +00:00
{
"name": "Business",
"base": "VnModel",
"options": {
"mysql": {
"table": "business"
}
},
"properties": {
"id": {
"type": "number",
"id": true
2024-04-09 10:30:25 +00:00
},
"workcenterFk" : {
"type": "number"
2022-10-21 06:00:48 +00:00
}
},
"relations": {
"worker": {
"type": "belongsTo",
"model": "Worker",
"foreignKey": "workerFk"
},
"department": {
"type": "belongsTo",
"model": "Department",
"foreignKey": "departmentFk"
}
}
2024-04-09 10:30:25 +00:00
}