41 lines
802 B
JSON
41 lines
802 B
JSON
{
|
|
"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
|
|
},
|
|
"sectorFk": {
|
|
"type": "number"
|
|
},
|
|
"code": {
|
|
"type": "string"
|
|
},
|
|
"pickingOrder": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"relations": {
|
|
"saleGroup": {
|
|
"type": "hasMany",
|
|
"model": "saleGroup",
|
|
"foreignKey": "parkingFk"
|
|
}
|
|
}
|
|
}
|