title: How to query for info from 2 tables with sequelize
body: <p>So I have two tables: Class and Course. Each Class has a course_id that defines what type of course it is on the Course table. Here are my models: </p>
  
  <pre><code>const Class = sequelize.define('class', {
    class_date: Sequelize.DATE,
    begin_time: Sequelize.TIME,
    end_time: Sequelize.TIME,
    max_capacity: Sequelize.INTEGER,
    is_published: Sequelize.BOOLEAN,
    training_facility_id: Sequelize.INTEGER,
    state_id: Sequelize.INTEGER,
    registration_deadline: Sequelize.DATE,
    course_id: Sequelize.INTEGER,
    is_report_60_generated: Sequelize.BOOLEAN,
    completed_by_user_id: Sequelize.INTEGER
  }, {
    timestamps: false,
    freezeTableName: true
  })
  
  const Course = sequelize.define('course', {
    code: Sequelize.STRING,
    name: Sequelize.STRING
   }, {
    timestamps: false,
    freezeTableName: true
  })
  </code></pre>
  
  <p>When I hit the classes endpoint, I get a array of classes. How would I set up the query to respond with the course name and code for each class instead of just the course_id?</p>