const system=require("../../system");
const settings=require("../../../config/settings");
const uiconfig=system.getUiConfig2(settings.wxconfig.appId);
module.exports = (db, DataTypes) => {
  return db.define("copyrightuserinfo", {
    proxyCode: DataTypes.STRING,
    orderNum: DataTypes.STRING,
    name:DataTypes.STRING,
    addrInfo:DataTypes.STRING,
    zipCode:DataTypes.STRING,
    customerContact:DataTypes.STRING,
    tel:DataTypes.STRING,
    email: DataTypes.STRING,
    mobile:DataTypes.STRING,
    fax:DataTypes.STRING,//传真
    entrustDesc:DataTypes.STRING,//申请人委托下述代理人说明信息
    
  },{
     paranoid: true,//假的删除
     underscored: true,
     version: true,
     freezeTableName: true,
     //freezeTableName: true,
     // define the table's name
     tableName: 'h_copyright_userinfo',
     validate: {
     }
  });
}
