module.exports = (db, DataTypes) => {
    return db.define("lduser", {
      p_id: DataTypes.BIGINT,
      p_user_id: DataTypes.STRING,
      p_user_name: DataTypes.STRING,
      p_user_idno: DataTypes.STRING,
      p_user_bank_no: DataTypes.STRING,
      p_user_mobile: DataTypes.STRING,
      p_user_balance: DataTypes.BIGINT,
      is_sign: {
        type: DataTypes.BOOLEAN,
        defaultValue: false
      },
      econtract_id: DataTypes.INTEGER,
    },{
       paranoid: true,
       underscored: true,
       version: true,
       freezeTableName: true,
       tableName: 'ld_user',
       validate: {
       },
       indexes:[
       ]
    });
  }
  