salix/modules/travel/back/models/travel.json

77 lines
1.6 KiB
JSON
Raw Normal View History

2018-11-13 06:44:03 +00:00
{
"name": "Travel",
"base": "VnModel",
"mixins": {
"Loggable": true
},
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"
2024-08-30 10:35:10 +00:00
},
"shipmentHour": {
2024-08-30 10:40:37 +00:00
"type": "string"
2024-08-30 10:35:10 +00:00
},
"landingHour": {
2024-08-30 10:40:37 +00:00
"type": "string"
},
"daysInForward": {
"type": "number"
2024-08-30 10:53:44 +00:00
}
},
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"
}
}
}
2024-08-30 10:53:44 +00:00