salix/services/ticket/common/models/ticket-weekly.json

26 lines
473 B
JSON
Raw Normal View History

2018-05-03 11:24:35 +00:00
{
"name": "TicketWeekly",
"base": "VnModel",
"options": {
2018-10-30 13:57:22 +00:00
"mysql": {
"table": "ticketWeekly"
}
2018-05-03 11:24:35 +00:00
},
"properties": {
"ticketFk": {
2018-10-30 13:57:22 +00:00
"id": true,
"type": "Number"
},
"weekDay": {
"type": "Number"
2018-05-03 11:24:35 +00:00
}
},
"relations": {
"ticket": {
2018-10-30 13:57:22 +00:00
"type": "belongsTo",
"model": "Ticket",
"foreignKey": "ticketFk"
2018-05-03 11:24:35 +00:00
}
}
}