2020-03-23 10:21:25 +00:00
|
|
|
{
|
|
|
|
"name": "ItemShelving",
|
2023-12-05 06:48:56 +00:00
|
|
|
"base": "VnModel",
|
2024-07-31 05:10:38 +00:00
|
|
|
"mixins": {
|
|
|
|
"Loggable": true
|
|
|
|
},
|
2020-03-23 10:21:25 +00:00
|
|
|
"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"
|
|
|
|
},
|
2020-11-09 13:53:26 +00:00
|
|
|
"shelvingFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "string"
|
2024-07-31 05:10:38 +00:00
|
|
|
},
|
2020-11-09 13:53:26 +00:00
|
|
|
"itemFk": {
|
2022-05-12 07:47:47 +00:00
|
|
|
"type": "number"
|
2024-07-31 05:10:38 +00:00
|
|
|
},
|
2020-03-23 10:21:25 +00:00
|
|
|
"created": {
|
2022-05-16 08:19:43 +00:00
|
|
|
"type": "date"
|
2024-07-31 05:10:38 +00:00
|
|
|
},
|
2023-09-22 10:29:56 +00:00
|
|
|
"grouping": {
|
|
|
|
"type": "number"
|
2024-07-31 05:10:38 +00:00
|
|
|
},
|
|
|
|
"isChecked": {
|
|
|
|
"type": "number"
|
2023-07-18 13:43:11 +00:00
|
|
|
},
|
2023-09-22 10:29:56 +00:00
|
|
|
"packing": {
|
|
|
|
"type": "number"
|
2023-07-25 08:21:54 +00:00
|
|
|
},
|
2024-07-31 05:10:38 +00:00
|
|
|
"visible": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"userFk": {
|
|
|
|
"type": "number"
|
2020-03-23 10:21:25 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"item": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Item",
|
|
|
|
"foreignKey": "itemFk"
|
|
|
|
},
|
|
|
|
"user": {
|
|
|
|
"type": "belongsTo",
|
2023-01-24 08:05:50 +00:00
|
|
|
"model": "VnUser",
|
2020-03-23 10:21:25 +00:00
|
|
|
"foreignKey": "userFk"
|
2023-10-02 07:14:30 +00:00
|
|
|
},
|
|
|
|
"shelving": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Shelving",
|
2024-03-14 07:36:19 +00:00
|
|
|
"foreignKey": "shelvingFk",
|
|
|
|
"primaryKey": "code"
|
2024-07-31 05:10:38 +00:00
|
|
|
}
|
2020-03-23 10:21:25 +00:00
|
|
|
}
|
2024-07-31 05:10:38 +00:00
|
|
|
}
|