2018-03-15 12:47:47 +00:00
|
|
|
{
|
2024-10-16 14:16:51 +00:00
|
|
|
"name": "Expedition",
|
|
|
|
"base": "VnModel",
|
|
|
|
"mixins": {
|
|
|
|
"Loggable": true
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "expedition"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"id": true,
|
|
|
|
"type": "number",
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"freightItemFk": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"created": {
|
|
|
|
"type": "date"
|
|
|
|
},
|
|
|
|
"counter": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"externalId": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"stateTypeFk": {
|
|
|
|
"type": "number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"ticket": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Ticket",
|
|
|
|
"foreignKey": "ticketFk"
|
|
|
|
},
|
|
|
|
"agencyMode": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "AgencyMode",
|
|
|
|
"foreignKey": "agencyModeFk"
|
|
|
|
},
|
|
|
|
"worker": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Worker",
|
|
|
|
"foreignKey": "workerFk"
|
|
|
|
},
|
|
|
|
"packages": {
|
|
|
|
"type": "hasMany",
|
|
|
|
"model": "TicketPackaging",
|
|
|
|
"foreignKey": "ticketFk"
|
|
|
|
},
|
|
|
|
"freightItem": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Item",
|
|
|
|
"foreignKey": "freightItemFk"
|
|
|
|
},
|
|
|
|
"packaging": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Package",
|
|
|
|
"foreignKey": "packagingFk"
|
2018-03-15 12:47:47 +00:00
|
|
|
}
|
|
|
|
}
|
2024-10-16 14:16:51 +00:00
|
|
|
}
|