2018-11-13 06:44:03 +00:00
|
|
|
{
|
|
|
|
"name": "Travel",
|
2019-10-25 11:26:38 +00:00
|
|
|
"base": "Loggable",
|
|
|
|
"log": {
|
2020-01-21 08:00:42 +00:00
|
|
|
"model":"TravelLog",
|
|
|
|
"showField": "ref"
|
2019-10-25 11:26:38 +00:00
|
|
|
},
|
2018-11-13 06:44:03 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
2020-03-24 11:20:53 +00:00
|
|
|
"table": "travel"
|
2018-11-13 06:44:03 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2018-11-13 06:44:03 +00:00
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"shipped": {
|
|
|
|
"type": "date"
|
|
|
|
},
|
|
|
|
"landed": {
|
|
|
|
"type": "date"
|
|
|
|
},
|
|
|
|
"isDelivered": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "boolean"
|
2018-11-13 06:44:03 +00:00
|
|
|
},
|
|
|
|
"isReceived": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "boolean"
|
2018-11-13 06:44:03 +00:00
|
|
|
},
|
|
|
|
"ref": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string"
|
2019-01-21 10:45:53 +00:00
|
|
|
},
|
|
|
|
"totalEntries": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2019-10-24 10:49:18 +00:00
|
|
|
},
|
|
|
|
"m3": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2019-10-25 11:26:38 +00:00
|
|
|
},
|
2021-01-07 13:21:17 +00:00
|
|
|
"kg": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2021-01-07 13:21:17 +00:00
|
|
|
},
|
2020-11-16 13:50:03 +00:00
|
|
|
"cargoSupplierFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2020-11-16 13:50:03 +00:00
|
|
|
},
|
2019-10-25 11:26:38 +00:00
|
|
|
"agencyModeFk": {
|
2022-07-13 12:36:03 +00:00
|
|
|
"type": "number"
|
2018-11-13 06:44:03 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"agency": {
|
|
|
|
"type": "belongsTo",
|
2019-10-25 11:26:38 +00:00
|
|
|
"model": "AgencyMode",
|
2022-07-13 12:36:03 +00:00
|
|
|
"foreignKey": "agencyModeFk"
|
2018-11-13 06:44:03 +00:00
|
|
|
},
|
|
|
|
"warehouseIn": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Warehouse",
|
|
|
|
"foreignKey": "warehouseInFk"
|
|
|
|
},
|
|
|
|
"warehouseOut": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Warehouse",
|
|
|
|
"foreignKey": "warehouseOutFk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|