57 lines
754 B
JSON
57 lines
754 B
JSON
{
|
|
"name": "ZoneEvent",
|
|
"base": "Loggable",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "zoneEvent"
|
|
}
|
|
},
|
|
"properties": {
|
|
"id": {
|
|
"id": true,
|
|
"type": "number"
|
|
},
|
|
"zoneFk": {
|
|
"id": true,
|
|
"type": "number"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"dated": {
|
|
"type": "date"
|
|
},
|
|
"started": {
|
|
"type": "date"
|
|
},
|
|
"ended": {
|
|
"type": "date"
|
|
},
|
|
"weekDays": {
|
|
"type": "string"
|
|
},
|
|
"hour": {
|
|
"type": "date"
|
|
},
|
|
"travelingDays": {
|
|
"type": "number"
|
|
},
|
|
"price": {
|
|
"type": "number"
|
|
},
|
|
"bonus": {
|
|
"type": "number"
|
|
},
|
|
"m3Max": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"relations": {
|
|
"zone": {
|
|
"type": "belongsTo",
|
|
"model": "Zone",
|
|
"foreignKey": "zoneFk"
|
|
}
|
|
}
|
|
}
|