salix/modules/order/back/models/order-row.json

61 lines
1.3 KiB
JSON
Raw Permalink Normal View History

{
"name": "OrderRow",
"base": "VnModel",
"options": {
"mysql": {
2018-12-17 10:28:39 +00:00
"table": "hedera.orderRow"
}
},
"properties": {
"id": {
2022-05-12 07:47:47 +00:00
"type": "number",
"id": true,
"description": "Identifier"
},
"warehouseFk": {
2022-05-12 07:47:47 +00:00
"type": "number"
},
"shipped": {
"type": "date",
"mysql": {
"columnName": "shipment"
}
},
"quantity": {
2022-05-12 07:47:47 +00:00
"type": "number",
"mysql": {
"columnName": "amount"
}
},
"price": {
2022-05-12 07:47:47 +00:00
"type": "number"
},
"rate": {
2022-05-12 07:47:47 +00:00
"type": "number"
},
"created": {
"type": "date"
},
"saleFk": {
2022-05-12 07:47:47 +00:00
"type": "number"
}
},
"relations": {
2018-06-20 10:47:43 +00:00
"item": {
"type": "belongsTo",
"model": "Item",
"foreignKey": "itemFk"
},
2018-06-20 10:47:43 +00:00
"order": {
"type": "belongsTo",
"model": "Order",
"foreignKey": "orderFk"
2018-08-07 13:48:55 +00:00
},
"warehouse": {
"type": "belongsTo",
"model": "Warehouse",
"foreignKey": "warehouseFk"
}
}
}