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

26 lines
441 B
JSON

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