salix/services/ticket/common/models/packaging.json

45 lines
776 B
JSON
Raw Normal View History

{
"name": "Packaging",
"base": "VnModel",
"options": {
"mysql": {
"table": "packaging"
}
},
"properties": {
"id": {
"id": true,
"type": "String",
"description": "Identifier"
},
"volume": {
"type": "Number"
},
2018-03-14 13:20:01 +00:00
"width": {
"type": "Date"
},
2018-03-14 13:20:01 +00:00
"height": {
"type": "Number"
},
2018-03-14 13:20:01 +00:00
"depth": {
"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",
"foreignKey": "itemFk"
}
}
}