26 lines
473 B
JSON
26 lines
473 B
JSON
{
|
|
"name": "TicketWeekly",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "ticketWeekly"
|
|
}
|
|
},
|
|
"properties": {
|
|
"ticketFk": {
|
|
"id": true,
|
|
"type": "Number"
|
|
},
|
|
"weekDay": {
|
|
"type": "Number"
|
|
}
|
|
},
|
|
"relations": {
|
|
"ticket": {
|
|
"type": "belongsTo",
|
|
"model": "Ticket",
|
|
"foreignKey": "ticketFk"
|
|
}
|
|
}
|
|
}
|