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

45 lines
776 B
JSON

{
"name": "Packaging",
"base": "VnModel",
"options": {
"mysql": {
"table": "packaging"
}
},
"properties": {
"id": {
"id": true,
"type": "String",
"description": "Identifier"
},
"volume": {
"type": "Number"
},
"width": {
"type": "Date"
},
"height": {
"type": "Number"
},
"depth": {
"type": "Number"
},
"isPackageReturnable": {
"type": "Number"
},
"created": {
"type": "Date"
},
"price": {
"type": "Number"
}
},
"relations": {
"item": {
"type": "belongsTo",
"model": "Item",
"foreignKey": "itemFk"
}
}
}