2022-05-24 10:50:22 +00:00
|
|
|
{
|
|
|
|
"name": "Parking",
|
|
|
|
"base": "VnModel",
|
|
|
|
"options": {
|
|
|
|
"mysql": {
|
|
|
|
"table": "parking"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "number",
|
|
|
|
"id": true,
|
|
|
|
"description": "Identifier"
|
|
|
|
},
|
|
|
|
"column": {
|
|
|
|
"type": "string",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"row": {
|
|
|
|
"type": "string",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"code": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"pickingOrder": {
|
|
|
|
"type": "number"
|
|
|
|
}
|
2023-02-06 12:57:04 +00:00
|
|
|
},
|
|
|
|
"relations": {
|
|
|
|
"saleGroup": {
|
2023-02-06 13:32:54 +00:00
|
|
|
"type": "hasMany",
|
2023-02-06 12:57:04 +00:00
|
|
|
"model": "saleGroup",
|
|
|
|
"foreignKey": "parkingFk"
|
2024-03-14 07:36:19 +00:00
|
|
|
},
|
|
|
|
"sector": {
|
|
|
|
"type": "belongsTo",
|
|
|
|
"model": "Sector",
|
|
|
|
"foreignKey": "sectorFk"
|
2023-02-06 12:57:04 +00:00
|
|
|
}
|
2022-05-24 10:50:22 +00:00
|
|
|
}
|
|
|
|
}
|