2018-03-12 12:55:18 +00:00
|
|
|
{
|
|
|
|
"name": "Packaging",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "packaging"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"id": true,
|
|
|
|
"type": "Number",
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"volume": {
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"X": {
|
|
|
|
"type": "Date"
|
|
|
|
},
|
|
|
|
"Y": {
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"Z": {
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"isPackageReturnable": {
|
|
|
|
"type": "Number"
|
|
|
|
},
|
|
|
|
"created": {
|
|
|
|
"type": "Date"
|
|
|
|
},
|
|
|
|
"price": {
|
|
|
|
"type": "Number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"item": {
|
|
|
|
"type": "belongsTo",
|
2018-03-14 12:51:07 +00:00
|
|
|
"model": "Item",
|
2018-03-12 12:55:18 +00:00
|
|
|
"foreignKey": "itemFk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|