salix/modules/wagon/back/models/wagon-config.json

44 lines
852 B
JSON
Raw Permalink Normal View History

2023-03-13 06:34:49 +00:00
{
"name": "WagonConfig",
"base": "VnModel",
"options": {
"mysql": {
"table": "wagonConfig"
}
},
"properties": {
"id": {
"id": true,
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "string"
},
2023-03-15 11:14:58 +00:00
"maxWagonHeight": {
"type": "number"
},
"minHeightBetweenTrays": {
2023-03-13 06:34:49 +00:00
"type": "number"
},
"maxTrays": {
"type": "number"
},
"defaultHeight": {
"type": "number"
},
"defaultTrayColorFk": {
"type": "number"
2023-03-13 06:34:49 +00:00
}
},
"relations": {
"WagonTypeColor": {
"type": "belongsTo",
"model": "WagonTypeColor",
"foreignKey": "defaultTrayColorFk"
}
2023-03-13 06:34:49 +00:00
}
}