salix/modules/zone/back/models/zone-event.json

57 lines
754 B
JSON
Raw Normal View History

2019-09-25 18:06:42 +00:00
{
"name": "ZoneEvent",
2020-12-02 11:49:50 +00:00
"base": "Loggable",
2019-09-25 18:06:42 +00:00
"options": {
"mysql": {
"table": "zoneEvent"
}
},
"properties": {
"id": {
"id": true,
2022-05-12 07:47:47 +00:00
"type": "number"
2019-09-25 18:06:42 +00:00
},
"zoneFk": {
"id": true,
2022-05-12 07:47:47 +00:00
"type": "number"
2019-09-25 18:06:42 +00:00
},
2019-11-18 15:31:37 +00:00
"type": {
2022-05-12 07:47:47 +00:00
"type": "string"
2019-11-18 15:31:37 +00:00
},
"dated": {
"type": "date"
2019-11-18 15:31:37 +00:00
},
"started": {
"type": "date"
2019-09-25 18:06:42 +00:00
},
2019-11-18 15:31:37 +00:00
"ended": {
"type": "date"
2019-09-25 18:06:42 +00:00
},
"weekDays": {
2022-05-12 07:47:47 +00:00
"type": "string"
2019-09-25 18:06:42 +00:00
},
"hour": {
"type": "date"
2019-09-25 18:06:42 +00:00
},
"travelingDays": {
2022-05-12 07:47:47 +00:00
"type": "number"
2019-09-25 18:06:42 +00:00
},
"price": {
2022-05-12 07:47:47 +00:00
"type": "number"
2019-09-25 18:06:42 +00:00
},
"bonus": {
2022-05-12 07:47:47 +00:00
"type": "number"
2020-02-25 07:08:13 +00:00
},
"m3Max": {
2022-05-12 07:47:47 +00:00
"type": "number"
2019-09-25 18:06:42 +00:00
}
},
"relations": {
"zone": {
"type": "belongsTo",
"model": "Zone",
"foreignKey": "zoneFk"
}
}
}