salix/modules/item/back/models/item-shelving-sale.json

40 lines
610 B
JSON
Raw Normal View History

{
"name": "ItemShelvingSale",
"base": "VnModel",
"options": {
"mysql": {
"table": "itemShelvingSale"
}
},
"properties": {
"id": {
2022-05-12 07:47:47 +00:00
"type": "number",
"id": true,
"description": "Identifier"
},
"quantity": {
2022-05-12 07:47:47 +00:00
"type": "number"
},
"created": {
"type": "date"
}
},
"relations": {
"sale": {
"type": "belongsTo",
"model": "Sale",
"foreignKey": "saleFk"
},
2020-03-23 10:21:25 +00:00
"itemShelving": {
"type": "belongsTo",
"model": "ItemShelving",
"foreignKey": "itemShelvingFk"
},
"user": {
"type": "belongsTo",
"model": "Account",
"foreignKey": "userFk"
}
}
}