module.exports = (db, DataTypes) => {
    return db.define("ldusertrade", {
      p_id: DataTypes.BIGINT,
      user_id: DataTypes.BIGINT,
      amt: DataTypes.BIGINT,
      out_trade_no: DataTypes.STRING,
      trade_status: DataTypes.STRING,
      complete_time: DataTypes.DATE,
    },{
       paranoid: true,
       underscored: true,
       version: true,
       freezeTableName: true,
       tableName: 'ld_user_trade',
       validate: {
       },
       indexes:[
       ]
    });
  }
  