salix/modules/ticket/back/models/ticket-weekly.json

31 lines
618 B
JSON
Raw Permalink Normal View History

2018-05-03 11:24:35 +00:00
{
"name": "TicketWeekly",
2019-03-25 08:36:24 +00:00
"base": "Loggable",
2018-05-03 11:24:35 +00:00
"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,
2022-05-12 07:47:47 +00:00
"type": "number"
2018-10-30 13:57:22 +00:00
},
"weekDay": {
2022-05-12 07:47:47 +00:00
"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"
},
"agencyMode": {
"type": "belongsTo",
"model": "AgencyMode",
"foreignKey": "agencyModeFk"
2018-05-03 11:24:35 +00:00
}
}
}