2019-11-12 13:53:58 +00:00
|
|
|
{
|
|
|
|
"name": "ItemShelvingSale",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "itemShelvingSale"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "Number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"quantity": {
|
|
|
|
"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"
|
|
|
|
},
|
2019-11-12 13:53:58 +00:00
|
|
|
"user": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Account",
|
|
|
|
"foreignKey": "userFk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|