module.exports = (sequelize, type) => {
    const EmailTemplates = sequelize.define('email_templates', {
        id: {
            type: type.INTEGER,
            primaryKey: true,
            autoIncrement: true
        },
        certi_id: type.INTEGER,
        name: type.TEXT,
        subject: type.TEXT,
        message: type.TEXT,
        html_source: type.TEXT,
        status: {
            type: type.INTEGER,
            defaultValue: 0
        }
    })
    return EmailTemplates;
}