module.exports = (sequelize, Sequelize) => {
    return sequelize.define('login', {
        lid: {
            primaryKey: true,
            autoIncrement: true,
            type: Sequelize.INTEGER
        },
        uname: Sequelize.STRING,
        username: Sequelize.STRING,
        password: Sequelize.STRING,
        email: Sequelize.STRING,
        category: Sequelize.STRING
    }, {
        freezeTableName: true,
        tableName: 'login',
        timestamps: false,
    })
}