2020-03-23 10:21:25 +00:00
|
|
|
{
|
|
|
|
"name": "ItemShelving",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "itemShelving"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number",
|
2020-03-23 10:21:25 +00:00
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"shelve": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string"
|
2020-11-09 13:53:26 +00:00
|
|
|
},
|
|
|
|
"shelvingFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string"
|
2020-11-09 13:53:26 +00:00
|
|
|
},
|
|
|
|
"itemFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2020-03-23 10:21:25 +00:00
|
|
|
},
|
|
|
|
"deep": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2020-03-23 10:21:25 +00:00
|
|
|
},
|
|
|
|
"quantity": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2020-03-23 10:21:25 +00:00
|
|
|
},
|
|
|
|
"created": {
|
2022-05-16 08:19:43 +00:00
|
|
|
"type": "date"
|
2020-03-23 10:21:25 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"item": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Item",
|
|
|
|
"foreignKey": "itemFk"
|
|
|
|
},
|
|
|
|
"user": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Account",
|
|
|
|
"foreignKey": "userFk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|