module.exports = (sequelize, type) => {
    const KetexamAns = sequelize.define('ketexam_ans', {
        id: {
            type: type.INTEGER,
            primaryKey: true,
            autoIncrement: true
        },
        KEQ_id: type.INTEGER,
        ans: type.STRING,
        test_id: type.INTEGER,
        user_id: type.INTEGER,
        correct: type.INTEGER,
        d_id: type.INTEGER,
        sd_id: type.INTEGER,
        topic_id: type.INTEGER,
        cohort_id: type.INTEGER,
        ans_time: type.STRING,
        status: {
            type: type.INTEGER,
            defaultValue: 0
        }
    })
    return KetexamAns;
}