module.exports = (sequelize, type) => {
    const Books = sequelize.define('books', {
        id: {
            type: type.INTEGER,
            primaryKey: true,
            autoIncrement: true
        },
        certi_id: type.INTEGER,
        book_title: type.TEXT,
        book_img: type.TEXT,
        status: {
            type: type.INTEGER,
            defaultValue: 0
        }
    })
    return Books;
}