31 lines
588 B
JSON
31 lines
588 B
JSON
{
|
|
"name": "TicketWeekly",
|
|
"base": "Loggable",
|
|
"log": {
|
|
"model": "TicketLog",
|
|
"relation": "ticket",
|
|
"changedModelValue": "ticketFk"
|
|
},
|
|
"options": {
|
|
"mysql": {
|
|
"table": "ticketWeekly"
|
|
}
|
|
},
|
|
"properties": {
|
|
"ticketFk": {
|
|
"id": true,
|
|
"type": "Number"
|
|
},
|
|
"weekDay": {
|
|
"type": "Number"
|
|
}
|
|
},
|
|
"relations": {
|
|
"ticket": {
|
|
"type": "belongsTo",
|
|
"model": "Ticket",
|
|
"foreignKey": "ticketFk"
|
|
}
|
|
}
|
|
}
|