module.exports = (sequelize, type) => {
    const TemplateSchedule = sequelize.define('templates_schedule', {
        id: {
            type: type.INTEGER,
            primaryKey: true,
            autoIncrement: true
        },
        type: type.TEXT,
        template_id: type.INTEGER,
        type_id: type.INTEGER,
        due_date: type.TEXT,
        overdue_date: type.TEXT,
        end_date: type.TEXT,
        required: type.INTEGER,
        homework: type.INTEGER,
        due_number: type.TEXT,
        overdue_number: type.TEXT,
        end_number: type.TEXT
    })
    return TemplateSchedule;
}