module.exports = (sequelize, type) => {
    const Company = sequelize.define('companies', {
        id: {
            type: type.INTEGER,
            primaryKey: true,
            autoIncrement: true
        },
        name: type.TEXT,
        address: type.TEXT,
        notes: type.TEXT,
        status: {
            type: type.INTEGER,
            defaultValue: 0
        }
    })
    return Company;
}