{ "name": "TicketWeekly", "base": "Loggable", "options": { "mysql": { "table": "ticketWeekly" } }, "properties": { "ticketFk": { "id": true, "type": "number" }, "weekDay": { "type": "number" } }, "relations": { "ticket": { "type": "belongsTo", "model": "Ticket", "foreignKey": "ticketFk" }, "agencyMode": { "type": "belongsTo", "model": "AgencyMode", "foreignKey": "agencyModeFk" } } }