salix/modules/ticket/back/models/expedition-state.json

42 lines
878 B
JSON
Raw Permalink Normal View History

2022-05-04 08:35:31 +00:00
{
"name": "ExpeditionState",
"base": "VnModel",
"options": {
"mysql": {
2024-06-06 10:28:34 +00:00
"table": "expeditionState"
2022-05-04 08:35:31 +00:00
}
},
"properties": {
"id": {
"id": true,
"type": "number",
"description": "Identifier"
},
"created": {
"type": "date"
},
"expeditionFk": {
"type": "number"
},
"typeFk": {
"type": "number",
"required": true
2022-05-04 08:35:31 +00:00
},
"userFk": {
"type": "number"
2024-06-06 10:28:34 +00:00
},
"isScanned": {
"type": "boolean"
2024-10-25 04:40:06 +00:00
},
"scanOrder": {
"type": "number"
2022-05-04 08:35:31 +00:00
}
},
"relations": {
2024-06-06 10:28:34 +00:00
"expeditionStateType": {
"type": "belongsTo",
"model": "ExpeditionStateType",
"foreignKey": "typeFk"
}
2022-05-04 08:35:31 +00:00
}
2024-06-06 10:28:34 +00:00
}