salix/modules/ticket/back/models/packaging.json

45 lines
777 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": "boolean"
},
"created": {
"type": "date"
},
"price": {
"type": "number"
}
},
"relations": {
"item": {
"type": "belongsTo",
2018-03-14 12:51:07 +00:00
"model": "Item",
"foreignKey": "itemFk"
}
}
}