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

39 lines
848 B
JSON
Raw Normal View History

2023-02-06 12:57:04 +00:00
{
"name": "SaleGroup",
"base": "VnModel",
"options": {
"mysql": {
"table": "saleGroup"
}
},
"properties": {
"id": {
"id": true,
"type": "number",
"description": "Identifier"
},
"parkingFk": {
"type": "number"
2024-05-29 14:54:24 +00:00
},
"ticketFk": {
"type": "number"
2023-02-06 12:57:04 +00:00
}
},
"relations": {
"saleGroupDetail": {
2023-02-06 13:32:54 +00:00
"type": "hasMany",
2023-02-06 12:57:04 +00:00
"model": "SaleGroupDetail",
"foreignKey": "saleGroupFk"
},
"parking": {
"type": "belongsTo",
"model": "Parking",
"foreignKey": "parkingFk"
},
"state": {
"type": "belongsTo",
"model": "State",
"foreignKey": "stateFk"
2023-02-06 12:57:04 +00:00
}
}
}