2022-10-05 12:04:30 +00:00
|
|
|
{
|
2023-01-10 12:52:30 +00:00
|
|
|
"name": "ExpeditionMistake",
|
2022-10-05 12:04:30 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2023-01-10 12:52:30 +00:00
|
|
|
"table": "expeditionMistake"
|
2022-10-05 12:04:30 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"created": {
|
|
|
|
"type": "date"
|
|
|
|
}
|
2023-01-13 14:42:00 +00:00
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"expedition": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Expedition",
|
|
|
|
"foreignKey": "expeditionFk"
|
|
|
|
},
|
|
|
|
"worker": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Worker",
|
|
|
|
"foreignKey": "workerFk"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "MistakeType",
|
|
|
|
"foreignKey": "typeFk"
|
|
|
|
}
|
2022-10-05 12:04:30 +00:00
|
|
|
}
|
2023-01-13 14:42:00 +00:00
|
|
|
|
2022-10-05 12:04:30 +00:00
|
|
|
}
|
|
|
|
|