| 12345678910111213141516171819202122232425262728 |
- // TODO: App Specific Models
- const Location = require('./location')
- const Workday = require('./workday')
- const Service = require('./service')
- const Retailer = require('./retailer')
- const LocationWorkday = Location.hasMany(Workday)
- const WorkdayLocation = Workday.belongsTo(Location)
- const WorkdayService = Workday.hasMany(Service)
- const ServiceWorkday = Service.belongsTo(Workday)
- const RetailerService = Retailer.hasMany(Service)
- const ServiceRetailer = Service.belongsTo(Retailer)
- module.exports = {
- Location,
- Workday,
- Service,
- Retailer,
- LocationWorkday,
- WorkdayLocation,
- WorkdayService,
- ServiceWorkday,
- RetailerService,
- ServiceRetailer,
- }
|