module.exports = (db, DataTypes) => {
  return db.define("company", {
    name: {
      type:DataTypes.STRING,
      allowNull: false,
    },
    logoUrl: DataTypes.STRING,
    description: DataTypes.STRING
  },{
     paranoid: true,//假的删除
     underscored: true,
     version: true,
     freezeTableName: true,
     tableName: 'p_company',
     validate: {
     },
  });
}
