admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgMoneyDetail.java
@@ -1,257 +1,257 @@
package com.yeshi.fanli.entity.bus.msg;
import java.math.BigDecimal;
import java.util.Date;
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
import com.yeshi.fanli.entity.bus.user.AlipayAccountValidNormalHistory;
import com.yeshi.fanli.entity.bus.user.Extract;
import com.yeshi.fanli.entity.bus.user.UserInfo;
/**
 * 奖金到账记录
 *
 * @author Administrator
 *
 */
@Table("yeshi_ec_msg_money")
public class MsgMoneyDetail {
   public enum MsgTypeMoneyTypeEnum {
      fanli("资金到账", "http://img.flqapp.com/resource/msg/icon_msg_fanli.png"),
      share("资金到账", "http://img.flqapp.com/resource/msg/icon_msg_share_money.png"),
      invite("资金到账", "http://img.flqapp.com/resource/msg/icon_msg_invite_money.png"),
      extract("提现", "http://img.flqapp.com/resource/msg/icon_msg_extract.png"),
      fanliWeiQuan("资金退回","http://img.flqapp.com/resource/msg/icon_msg_fanli.png"),
      shareWeiQuan("资金退回", "http://img.flqapp.com/resource/msg/icon_msg_share_money.png"),
      extractAutoWX("自动提现", "http://img.flqapp.com/resource/money_detail/icon_system.png"),
      extractValid("提现验证", "http://img.flqapp.com/resource/msg/icon_msg_extract.png"),
      inviteWeiQuan("团队奖金扣除", "http://img.flqapp.com/resource/msg/icon_msg_invite_money.png"),
      orderReward("返利奖励","http://img.flqapp.com/resource/msg/icon_msg_order_reward.png"),
      systemEqualize("系统补齐","http://img.flqapp.com/resource/money_detail/icon_system.png"),
      fanliElme("返利到账", "http://img.flqapp.com/resource/msg/icon_msg_fanli.png"),
      subSidy("额外补贴", "http://img.flqapp.com/resource/msg/icon_msg_subsidy.png"),
      redPackGiveOff("赠送红包完成", "http://img.flqapp.com/resource/msg/icon_hongbao_give.png"),
      redPackReceiveOff("赠送红包领取","http://img.flqapp.com/resource/msg/icon_hongbao_give.png"),
      redPackGiveBack("红包退回", "http://img.flqapp.com/resource/msg/icon_hongbao_give.png"),
      redPackExchangePass("红包提现成功", "http://img.flqapp.com/resource/msg/icon_hongbao_tixian.png"),
      redPackExchangeReject("红包提现失败", "http://img.flqapp.com/resource/msg/icon_hongbao_tixian.png"),
      redPackOneStageReward("第一阶段-立得现金-成功邀请好友","http://img.flqapp.com/img/tlj/icon_tlj.png"),
      redPackTwoStageReward("第二阶段-递增奖励-好友完成订单","http://img.flqapp.com/img/tlj/icon_tlj.png"),
      redPackThreeStageReward("第三阶段-连续奖励-好友完成订单","http://img.flqapp.com/img/tlj/icon_tlj.png"),
      redPackUseSuccess("红包使用成功","http://img.flqapp.com/img/tlj/icon_tlj.png"),
      redPackUseFail("红包使用失败","http://img.flqapp.com/img/tlj/icon_tlj.png"),
      redPackForbid("红包封禁","http://img.flqapp.com/img/tlj/icon_tlj.png"),
      redPackForbidRemove("红包解封","http://img.flqapp.com/img/tlj/icon_tlj.png"),
      redPackDeduct("红包扣除","http://img.flqapp.com/img/tlj/icon_tlj.png"),
      orderTeamReward("团队奖励","http://img.flqapp.com/resource/msg/icon_msg_team_reward.png");
      private final String desc;
      private final String icon;
      private MsgTypeMoneyTypeEnum(String desc, String icon) {
         this.desc = desc;
         this.icon = icon;
      }
      public String getDesc() {
         return desc;
      }
      public String getIcon() {
         return icon;
      }
   }
   @Column(name = "mm_id")
   private Long id;
   @Column(name = "mm_uid")
   private UserInfo user;
   @Column(name = "mm_type")
   private MsgTypeMoneyTypeEnum msgType;// 消息类型
   @Column(name = "mm_order_count")
   private Integer orderCount;// 订单数(奖金适用)
   @Column(name = "mm_goods_count")
   private Integer goodsCount;// 商品数
   @Column(name = "mm_order_id")
   private String orderId;// 订单号(返利适用)
   @Column(name = "mm_order_type")
   private Integer orderType;
   @Column(name = "mm_source_id")
   private Extract extract;// 提现详情
   private AlipayAccountValidNormalHistory alipayAccountValid;// 提现账号验证详情
   @Column(name = "mm_money")
   private BigDecimal money;// 到账资金
   @Column(name = "mm_balance")
   private BigDecimal balance;// 账户余额
   @Column(name = "mm_state_desc")
   private String stateDesc;// 状态说明
   @Column(name = "mm_desc")
   private String desc;// 说明
   @Column(name = "mm_beizhu")
   private String beiZhu;// 备注
   @Column(name = "mm_create_time")
   private Date createTime;
   @Column(name = "mm_update_time")
   private Date updateTime;
   @Column(name = "mm_read")
   private Boolean read;
   @Column(name = "mm_content") // 消息内容
   private String content;
   private String extraInfo;// 新版消息内容
   public Long getId() {
      return id;
   }
   public void setId(Long id) {
      this.id = id;
   }
   public UserInfo getUser() {
      return user;
   }
   public void setUser(UserInfo user) {
      this.user = user;
   }
   public String getStateDesc() {
      return stateDesc;
   }
   public void setStateDesc(String stateDesc) {
      this.stateDesc = stateDesc;
   }
   public MsgTypeMoneyTypeEnum getMsgType() {
      return msgType;
   }
   public void setMsgType(MsgTypeMoneyTypeEnum msgType) {
      this.msgType = msgType;
   }
   public Integer getOrderCount() {
      return orderCount;
   }
   public void setOrderCount(Integer orderCount) {
      this.orderCount = orderCount;
   }
   public Integer getGoodsCount() {
      return goodsCount;
   }
   public void setGoodsCount(Integer goodsCount) {
      this.goodsCount = goodsCount;
   }
   public String getOrderId() {
      return orderId;
   }
   public void setOrderId(String orderId) {
      this.orderId = orderId;
   }
   public Extract getExtract() {
      return extract;
   }
   public void setExtract(Extract extract) {
      this.extract = extract;
   }
   public BigDecimal getMoney() {
      return money;
   }
   public void setMoney(BigDecimal money) {
      this.money = money;
   }
   public BigDecimal getBalance() {
      return balance;
   }
   public void setBalance(BigDecimal balance) {
      this.balance = balance;
   }
   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 Boolean getRead() {
      return read;
   }
   public void setRead(Boolean read) {
      this.read = read;
   }
   public AlipayAccountValidNormalHistory getAlipayAccountValid() {
      return alipayAccountValid;
   }
   public void setAlipayAccountValid(AlipayAccountValidNormalHistory alipayAccountValid) {
      this.alipayAccountValid = alipayAccountValid;
   }
   public Integer getOrderType() {
      return orderType;
   }
   public void setOrderType(Integer orderType) {
      this.orderType = orderType;
   }
   public String getDesc() {
      return desc;
   }
   public void setDesc(String desc) {
      this.desc = desc;
   }
   public String getContent() {
      return content;
   }
   public void setContent(String content) {
      this.content = content;
   }
   public String getExtraInfo() {
      return extraInfo;
   }
   public void setExtraInfo(String extraInfo) {
      this.extraInfo = extraInfo;
   }
}
package com.yeshi.fanli.entity.bus.msg;
import java.math.BigDecimal;
import java.util.Date;
import org.yeshi.utils.generater.mybatis.Column;
import org.yeshi.utils.generater.mybatis.Table;
import com.yeshi.fanli.entity.bus.user.AlipayAccountValidNormalHistory;
import com.yeshi.fanli.entity.bus.user.Extract;
import com.yeshi.fanli.entity.bus.user.UserInfo;
/**
 * 奖金到账记录
 *
 * @author Administrator
 *
 */
@Table("yeshi_ec_msg_money")
public class MsgMoneyDetail {
   public enum MsgTypeMoneyTypeEnum {
      fanli("资金到账", "http://img.flqapp.com/resource/msg/icon_msg_money_recieve.png"),
      share("资金到账", "http://img.flqapp.com/resource/msg/icon_msg_money_recieve.png"),
      invite("资金到账", "http://img.flqapp.com/resource/msg/icon_msg_money_recieve.png"),
      extract("提现", "http://img.flqapp.com/resource/msg/icon_msg_extract.png"),
      fanliWeiQuan("资金退回","http://img.flqapp.com/resource/msg/icon_msg_money_drawback.png"),
      shareWeiQuan("资金退回", "http://img.flqapp.com/resource/msg/icon_msg_money_drawback.png"),
      extractAutoWX("自动提现", "http://img.flqapp.com/resource/money_detail/icon_system.png"),
      extractValid("提现验证", "http://img.flqapp.com/resource/msg/icon_msg_extract.png"),
      inviteWeiQuan("团队奖金扣除", "http://img.flqapp.com/resource/msg/icon_msg_invite_money.png"),
      orderReward("返利奖励","http://img.flqapp.com/resource/msg/icon_msg_order_reward.png"),
      systemEqualize("系统补齐","http://img.flqapp.com/resource/money_detail/icon_system.png"),
      fanliElme("返利到账", "http://img.flqapp.com/resource/msg/icon_msg_fanli.png"),
      subSidy("额外补贴", "http://img.flqapp.com/resource/msg/icon_msg_subsidy.png"),
      redPackGiveOff("赠送红包完成", "http://img.flqapp.com/resource/msg/icon_hongbao_give.png"),
      redPackReceiveOff("赠送红包领取","http://img.flqapp.com/resource/msg/icon_hongbao_give.png"),
      redPackGiveBack("红包退回", "http://img.flqapp.com/resource/msg/icon_hongbao_give.png"),
      redPackExchangePass("红包提现成功", "http://img.flqapp.com/resource/msg/icon_hongbao_tixian.png"),
      redPackExchangeReject("红包提现失败", "http://img.flqapp.com/resource/msg/icon_hongbao_tixian.png"),
      redPackOneStageReward("第一阶段-立得现金-成功邀请好友","http://img.flqapp.com/img/tlj/icon_tlj.png"),
      redPackTwoStageReward("第二阶段-递增奖励-好友完成订单","http://img.flqapp.com/img/tlj/icon_tlj.png"),
      redPackThreeStageReward("第三阶段-连续奖励-好友完成订单","http://img.flqapp.com/img/tlj/icon_tlj.png"),
      redPackUseSuccess("红包使用成功","http://img.flqapp.com/img/tlj/icon_tlj.png"),
      redPackUseFail("红包使用失败","http://img.flqapp.com/img/tlj/icon_tlj.png"),
      redPackForbid("红包封禁","http://img.flqapp.com/img/tlj/icon_tlj.png"),
      redPackForbidRemove("红包解封","http://img.flqapp.com/img/tlj/icon_tlj.png"),
      redPackDeduct("红包扣除","http://img.flqapp.com/img/tlj/icon_tlj.png"),
      orderTeamReward("团队奖励","http://img.flqapp.com/resource/msg/icon_msg_team_reward.png");
      private final String desc;
      private final String icon;
      private MsgTypeMoneyTypeEnum(String desc, String icon) {
         this.desc = desc;
         this.icon = icon;
      }
      public String getDesc() {
         return desc;
      }
      public String getIcon() {
         return icon;
      }
   }
   @Column(name = "mm_id")
   private Long id;
   @Column(name = "mm_uid")
   private UserInfo user;
   @Column(name = "mm_type")
   private MsgTypeMoneyTypeEnum msgType;// 消息类型
   @Column(name = "mm_order_count")
   private Integer orderCount;// 订单数(奖金适用)
   @Column(name = "mm_goods_count")
   private Integer goodsCount;// 商品数
   @Column(name = "mm_order_id")
   private String orderId;// 订单号(返利适用)
   @Column(name = "mm_order_type")
   private Integer orderType;
   @Column(name = "mm_source_id")
   private Extract extract;// 提现详情
   private AlipayAccountValidNormalHistory alipayAccountValid;// 提现账号验证详情
   @Column(name = "mm_money")
   private BigDecimal money;// 到账资金
   @Column(name = "mm_balance")
   private BigDecimal balance;// 账户余额
   @Column(name = "mm_state_desc")
   private String stateDesc;// 状态说明
   @Column(name = "mm_desc")
   private String desc;// 说明
   @Column(name = "mm_beizhu")
   private String beiZhu;// 备注
   @Column(name = "mm_create_time")
   private Date createTime;
   @Column(name = "mm_update_time")
   private Date updateTime;
   @Column(name = "mm_read")
   private Boolean read;
   @Column(name = "mm_content") // 消息内容
   private String content;
   private String extraInfo;// 新版消息内容
   public Long getId() {
      return id;
   }
   public void setId(Long id) {
      this.id = id;
   }
   public UserInfo getUser() {
      return user;
   }
   public void setUser(UserInfo user) {
      this.user = user;
   }
   public String getStateDesc() {
      return stateDesc;
   }
   public void setStateDesc(String stateDesc) {
      this.stateDesc = stateDesc;
   }
   public MsgTypeMoneyTypeEnum getMsgType() {
      return msgType;
   }
   public void setMsgType(MsgTypeMoneyTypeEnum msgType) {
      this.msgType = msgType;
   }
   public Integer getOrderCount() {
      return orderCount;
   }
   public void setOrderCount(Integer orderCount) {
      this.orderCount = orderCount;
   }
   public Integer getGoodsCount() {
      return goodsCount;
   }
   public void setGoodsCount(Integer goodsCount) {
      this.goodsCount = goodsCount;
   }
   public String getOrderId() {
      return orderId;
   }
   public void setOrderId(String orderId) {
      this.orderId = orderId;
   }
   public Extract getExtract() {
      return extract;
   }
   public void setExtract(Extract extract) {
      this.extract = extract;
   }
   public BigDecimal getMoney() {
      return money;
   }
   public void setMoney(BigDecimal money) {
      this.money = money;
   }
   public BigDecimal getBalance() {
      return balance;
   }
   public void setBalance(BigDecimal balance) {
      this.balance = balance;
   }
   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 Boolean getRead() {
      return read;
   }
   public void setRead(Boolean read) {
      this.read = read;
   }
   public AlipayAccountValidNormalHistory getAlipayAccountValid() {
      return alipayAccountValid;
   }
   public void setAlipayAccountValid(AlipayAccountValidNormalHistory alipayAccountValid) {
      this.alipayAccountValid = alipayAccountValid;
   }
   public Integer getOrderType() {
      return orderType;
   }
   public void setOrderType(Integer orderType) {
      this.orderType = orderType;
   }
   public String getDesc() {
      return desc;
   }
   public void setDesc(String desc) {
      this.desc = desc;
   }
   public String getContent() {
      return content;
   }
   public void setContent(String content) {
      this.content = content;
   }
   public String getExtraInfo() {
      return extraInfo;
   }
   public void setExtraInfo(String extraInfo) {
      this.extraInfo = extraInfo;
   }
}