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