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

60 lines
815 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",
"log": {
"model":"ZoneLog",
"relation": "zone"
},
2019-09-25 18:06:42 +00:00
"options": {
"mysql": {
"table": "zoneEvent"
}
},
"properties": {
"id": {
"id": true,
"type": "Number"
},
"zoneFk": {
"id": true,
"type": "Number"
},
2019-11-18 15:31:37 +00:00
"type": {
"type": "String"
},
"dated": {
"type": "Date"
},
"started": {
2019-09-25 18:06:42 +00:00
"type": "Date"
},
2019-11-18 15:31:37 +00:00
"ended": {
2019-09-25 18:06:42 +00:00
"type": "Date"
},
"weekDays": {
"type": "String"
},
"hour": {
"type": "Date"
},
"travelingDays": {
"type": "Number"
},
"price": {
"type": "Number"
},
"bonus": {
"type": "Number"
2020-02-25 07:08:13 +00:00
},
"m3Max": {
"type": "Number"
2019-09-25 18:06:42 +00:00
}
},
"relations": {
"zone": {
"type": "belongsTo",
"model": "Zone",
"foreignKey": "zoneFk"
}
}
}