60 lines
815 B
JSON
60 lines
815 B
JSON
{
|
|
"name": "ZoneEvent",
|
|
"base": "Loggable",
|
|
"log": {
|
|
"model":"ZoneLog",
|
|
"relation": "zone"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
} |