2020-08-26 14:33:47 +00:00
|
|
|
{
|
|
|
|
"name": "Buy",
|
2023-12-05 06:48:56 +00:00
|
|
|
"base": "VnModel",
|
|
|
|
"mixins": {
|
|
|
|
"Loggable": true
|
|
|
|
},
|
2020-08-26 14:33:47 +00:00
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "buy"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"quantity": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"buyingValue": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"freightValue": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"packing": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"grouping": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
2020-09-09 09:39:18 +00:00
|
|
|
"stickers": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
2020-08-26 14:33:47 +00:00
|
|
|
"groupingMode": {
|
2024-04-16 09:07:57 +00:00
|
|
|
"type": "string"
|
2020-08-26 14:33:47 +00:00
|
|
|
},
|
|
|
|
"comissionValue": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"packageValue": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
2023-06-05 07:10:19 +00:00
|
|
|
"price1": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
2020-08-26 14:33:47 +00:00
|
|
|
"price2": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"price3": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"weight": {
|
|
|
|
"type": "number"
|
2023-06-05 07:10:19 +00:00
|
|
|
},
|
|
|
|
"printedStickers": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"dispatched": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"isIgnored": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"containerFk": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"location": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"minPrice": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"isChecked": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"isPickedOff": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"created": {
|
|
|
|
"type": "date"
|
|
|
|
},
|
|
|
|
"ektFk": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"itemOriginalFk": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"editorFk": {
|
|
|
|
"type": "number"
|
2020-08-26 14:33:47 +00:00
|
|
|
}
|
2023-06-05 07:10:19 +00:00
|
|
|
|
2020-08-26 14:33:47 +00:00
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"entry": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Entry",
|
2021-04-28 08:32:24 +00:00
|
|
|
"foreignKey": "entryFk"
|
2020-09-09 09:39:18 +00:00
|
|
|
},
|
|
|
|
"item": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Item",
|
2021-04-28 08:32:24 +00:00
|
|
|
"foreignKey": "itemFk"
|
2020-11-13 08:30:40 +00:00
|
|
|
},
|
|
|
|
"package": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Packaging",
|
2023-09-22 08:59:48 +00:00
|
|
|
"foreignKey": "packagingFk"
|
2023-06-05 07:10:19 +00:00
|
|
|
},
|
|
|
|
"worker": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Worker",
|
|
|
|
"foreignKey": "workerFk"
|
|
|
|
},
|
|
|
|
"delivery": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Delivery",
|
|
|
|
"foreignKey": "deliveryFk"
|
2020-11-13 08:30:40 +00:00
|
|
|
}
|
2020-08-26 14:33:47 +00:00
|
|
|
}
|
2023-03-22 10:03:13 +00:00
|
|
|
}
|