module.exports = (db, DataTypes) => {
  return db.define("businesslicenseimg", {
    // channel_id配置关系引用
    type: DataTypes.INTEGER,
    licenseId: DataTypes.INTEGER,
    url: DataTypes.STRING(500),
  },{
     paranoid: true,//假的删除
     underscored: true,
     version: true,
     freezeTableName: true,
     //freezeTableName: true,
     // define the table's name
     tableName: 'yz_business_license_img',
     validate: {

     },
     indexes:[

     ]
  });
}
