salix/modules/shelving/back/models/shelving.json

47 lines
947 B
JSON
Raw Normal View History

2022-05-24 10:50:22 +00:00
{
"name": "Shelving",
2022-07-19 11:35:17 +00:00
"base": "Loggable",
2022-05-24 10:50:22 +00:00
"options": {
"mysql": {
"table": "shelving"
}
},
"properties": {
"id": {
"type": "number",
2023-09-26 11:12:18 +00:00
"description": "Identifier",
"id": true
2022-05-24 10:50:22 +00:00
},
"code": {
2023-09-26 11:12:18 +00:00
"type": "string"
2022-05-24 10:50:22 +00:00
},
"parkingFk": {
"type": "number"
},
2022-05-24 10:50:22 +00:00
"isPrinted": {
"type": "boolean"
2022-05-24 10:50:22 +00:00
},
"priority": {
"type": "number"
},
"userFk": {
"type": "number"
},
"isRecyclable": {
"type": "boolean"
}
},
"relations": {
"parking": {
"type": "belongsTo",
"model": "Parking",
"foreignKey": "parkingFk"
},
"worker": {
"type": "belongsTo",
"model": "Worker",
"foreignKey": "userFk"
}
}
}