yujian
2020-01-18 f4a0f2acc63d7785eab108419a4e16f5f688cb95
fanli/src/main/java/com/yeshi/fanli/entity/money/UserMoneyDetail.java
@@ -3,6 +3,10 @@
import java.math.BigDecimal;
import java.util.Date;
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
import com.google.gson.annotations.Expose;
import com.yeshi.fanli.entity.bus.user.UserInfo;
/**
@@ -11,22 +15,49 @@
 * @author Administrator
 *
 */
@Table("yeshi_ec_user_money_detail")
public class UserMoneyDetail {
   public UserMoneyDetail(Long id) {
      this.id = id;
   }
   public UserMoneyDetail() {
   }
   public enum UserMoneyDetailTypeEnum {
      share("分享奖金", "", ""),
      invite("邀请奖金", "", ""),
      fanli("返利到账", "", ""),
      fanliWeiQuan("返利扣除", "",""),
      inviteWeiQuan("邀请奖金扣除", "", ""),
      shareWeiQuan("分享奖金扣除", "", ""),
      systemEqualize("系统补齐", "",""),
      scoreConvert("积分兑换", "", ""),
      hongbao("官方红包", "", ""),
      buyScore("购买积分", "",""),
      extract("提现", "", ""),
      extractVerify("提现验证", "", ""),
      extractReject("提现被拒", "", "");
      share("分享奖金", "http://img.flqapp.com/resource/money_detail/icon_share.png", ""),
      invite("邀请奖金", "http://img.flqapp.com/resource/money_detail/icon_invite.png", ""),
      inviteAndShare("奖金收入", "http://img.flqapp.com/resource/money_detail/icon_share.png", ""),
      fanli("返利到账", "http://img.flqapp.com/resource/money_detail/icon_fanli.png", ""),
      fanliWeiQuan("返利扣除",
            "http://img.flqapp.com/resource/money_detail/icon_fanli.png",
            "http://apph5.banliapp.com/AppPage/1.8.0/all_help_content.html?id=214"),
      inviteWeiQuan("邀请奖金扣除",
            "http://img.flqapp.com/resource/money_detail/icon_invite.png",
            "http://apph5.banliapp.com/AppPage/1.8.0/all_help_content.html?id=214"),
      shareWeiQuan("分享奖金扣除",
            "http://img.flqapp.com/resource/money_detail/icon_share.png",
            "http://apph5.banliapp.com/AppPage/1.8.0/all_help_content.html?id=214"),
      weiQuan("售后订单扣款",
            "http://img.flqapp.com/resource/money_detail/icon_fanli.png",
            "http://apph5.banliapp.com/AppPage/1.8.0/all_help_content.html?id=214"),
      systemEqualize("系统补齐", "http://img.flqapp.com/resource/money_detail/icon_system.png", ""),
      scoreConvert("金币兑换", "http://img.flqapp.com/resource/money_detail/icon_score.png", ""),
      hongbao("官方红包", "http://img.flqapp.com/resource/money_detail/icon_hongbao.png", ""),
      hongbaoDeduct("红包退款", "http://img.flqapp.com/resource/money_detail/icon_hongbao.png", ""),
      buyScore("购买积分", "http://img.flqapp.com/resource/money_detail/icon_score.png", ""),
      extract("提现", "http://img.flqapp.com/resource/money_detail/icon_extract.png", ""),
      extractVerify("提现验证", "http://img.flqapp.com/resource/money_detail/icon_extract.png", ""),
      extractReject("提现被拒", "http://img.flqapp.com/resource/money_detail/icon_extract.png", ""),
      orderReward("返利奖励金", "http://img.flqapp.com/resource/money_detail/icon_order_reward.png", ""),
      repeatStatistic("重复统计返利/奖金扣除", "http://img.flqapp.com/resource/money_detail/icon_fanli.png", ""),
      elmeFanli("饿了么返利到账", "http://img.flqapp.com/resource/money_detail/icon_fanli.png", ""),
      redPackExchange("红包提现到余额", "http://img.flqapp.com/resource/msg/icon_hongbao_tixian.png", ""),
      extractAutoWX("自动提现", "http://img.flqapp.com/resource/money_detail/icon_extract.png", ""),
      extractAutoWXRefund("自动提现失败", "http://img.flqapp.com/resource/money_detail/icon_extract.png", ""),
      subsidy("额外补贴", "http://img.flqapp.com/resource/msg/icon_msg_subsidy.png", "");
      private final String desc;
      private final String picture;
      private final String helpUrl;
@@ -50,90 +81,165 @@
      }
   }
   @Expose
   @Column(name = "umd_id")
   private Long id;
   @Column(name = "umd_uid")
   private UserInfo userInfo;
   @Expose
   @Column(name = "umd_money")
   private BigDecimal money;
   @Expose
   @Column(name = "umd_type")
   private UserMoneyDetailTypeEnum type;
   @Column(name = "umd_order_type")
   private Integer orderType;// 和订单相关数据才处理
   @Expose
   @Column(name = "umd_title")
   private String title;// 标题
   @Expose
   @Column(name = "umd_sub_title")
   private String subTitle;// 子标题
   @Expose
   @Column(name = "umd_desc_info")
   private String descInfo;// 简要信息
   @Column(name = "umd_source_identify_id")
   private Long sourceIdentifyId;// 来源方唯一标识ID(返利,邀请赚与分享赚不存在该属性)
   @Column(name = "umd_identify_code")
   private String identifyCode;// 唯一标识
   @Column(name = "umd_beizhu")
   private String beiZhu;// 备注信息
   @Expose
   @Column(name = "umd_createtime")
   private Date createTime;
   @Column(name = "umd_updatetime")
   private Date updateTime;
   private Integer state;// 老版明细适用该字段
   @Column(name = "umd_show")
   private Boolean show;// 是否显示
   public Boolean getShow() {
      return show;
   }
   public void setShow(Boolean show) {
      this.show = show;
   }
   public Integer getState() {
      return state;
   }
   public void setState(Integer state) {
      this.state = state;
   }
   public Long getId() {
      return id;
   }
   public void setId(Long id) {
      this.id = id;
   }
   public UserInfo getUserInfo() {
      return userInfo;
   }
   public void setUserInfo(UserInfo userInfo) {
      this.userInfo = userInfo;
   }
   public BigDecimal getMoney() {
      return money;
   }
   public void setMoney(BigDecimal money) {
      this.money = money;
   }
   public UserMoneyDetailTypeEnum getType() {
      return type;
   }
   public void setType(UserMoneyDetailTypeEnum type) {
      this.type = type;
   }
   public String getTitle() {
      return title;
   }
   public void setTitle(String title) {
      this.title = title;
   }
   public String getSubTitle() {
      return subTitle;
   }
   public void setSubTitle(String subTitle) {
      this.subTitle = subTitle;
   }
   public String getDescInfo() {
      return descInfo;
   }
   public void setDescInfo(String descInfo) {
      this.descInfo = descInfo;
   }
   public Long getSourceIdentifyId() {
      return sourceIdentifyId;
   }
   public void setSourceIdentifyId(Long sourceIdentifyId) {
      this.sourceIdentifyId = sourceIdentifyId;
   }
   public String getIdentifyCode() {
      return identifyCode;
   }
   public void setIdentifyCode(String identifyCode) {
      this.identifyCode = identifyCode;
   }
   public String getBeiZhu() {
      return beiZhu;
   }
   public void setBeiZhu(String beiZhu) {
      this.beiZhu = beiZhu;
   }
   public Date getCreateTime() {
      return createTime;
   }
   public void setCreateTime(Date createTime) {
      this.createTime = createTime;
   }
   public Date getUpdateTime() {
      return updateTime;
   }
   public void setUpdateTime(Date updateTime) {
      this.updateTime = updateTime;
   }
   public Integer getOrderType() {
      return orderType;
   }
   public void setOrderType(Integer orderType) {
      this.orderType = orderType;
   }
}