From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 25 二月 2025 16:41:22 +0800 Subject: [PATCH] 淘宝转链接口更新 --- fanli/src/main/java/com/yeshi/fanli/entity/redpack/RedPackDetail.java | 338 +++++++++++++++++++++++++++++--------------------------- 1 files changed, 175 insertions(+), 163 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/redpack/RedPackDetail.java b/fanli/src/main/java/com/yeshi/fanli/entity/redpack/RedPackDetail.java index 29d4e6a..7a49d30 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/redpack/RedPackDetail.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/redpack/RedPackDetail.java @@ -1,163 +1,175 @@ -package com.yeshi.fanli.entity.redpack; - -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; - -/** - * 绾㈠寘鏄庣粏 - * - * @author Administrator - * - */ -@Table("yeshi_red_pack_detail") -public class RedPackDetail { - public enum RedPackDetailTypeEnum { - refund("绾㈠寘閫�鍥�", "http://img.flqapp.com/img/tlj/icon_tlj.png"), - violation("绾㈠寘娑夊珜杩濊", "http://img.flqapp.com/img/tlj/icon_tlj.png"), - newUserReward("鏂颁汉濂栧姳", "http://img.flqapp.com/img/tlj/icon_tlj.png"), - invite("绔嬪緱鐜伴噾", "http://img.flqapp.com/img/tlj/icon_tlj.png"), - increaseReward("閫掑濂栧姳", "http://img.flqapp.com/img/tlj/icon_tlj.png"), - seriesReward("杩炵画濂栧姳", "http://img.flqapp.com/img/tlj/icon_tlj.png"), - giveOthers("绾㈠寘璧犻�佸緟棰嗗彇涓�", "http://img.flqapp.com/resource/msg/icon_hongbao_give.png"), - giveOthersSucceed("绾㈠寘璧犻�侀鍙栨垚鍔�", "http://img.flqapp.com/resource/msg/icon_hongbao_give.png"), - giveOthersFail("绾㈠寘璧犻�佽秴鏃堕��鍥�", "http://img.flqapp.com/resource/msg/icon_hongbao_give.png"), - giveOthersReceive("濂藉弸璧犻��", "http://img.flqapp.com/resource/msg/icon_hongbao_give.png"), - useByShopOrder("鍟嗗煄璁㈠崟浣跨敤", "http://img.flqapp.com/img/tlj/icon_tlj.png"), - shopOrderDrawBack("鍟嗗煄璁㈠崟閫�鍥�", "http://img.flqapp.com/img/tlj/icon_tlj.png"), - redExchange("绾㈠寘鎻愮幇涓�", "http://img.flqapp.com/resource/msg/icon_hongbao_tixian.png"), - redExchangePass("绾㈠寘鎻愮幇鎴愬姛", "http://img.flqapp.com/resource/msg/icon_hongbao_tixian.png"), - redExchangeReject("绾㈠寘鎻愮幇澶辫触", "http://img.flqapp.com/resource/msg/icon_hongbao_tixian.png"); - - private final String desc; - private final String picture; - - private RedPackDetailTypeEnum(String desc, String picture) { - this.desc = desc; - this.picture = picture; - } - - public String getDesc() { - return desc; - } - - public String getPicture() { - return picture; - } - } - - @Expose - @Column(name = "rpd_id") - private Long id; - // 鍞竴鏍囪瘑 - @Column(name = "rpd_identify_code") - private String identifyCode; - @Expose - @Column(name = "rpd_uid") - private Long uid; - @Expose - @Column(name = "rpd_money") - private BigDecimal money; - @Expose - @Column(name = "rpd_title") - private String title; - @Expose - @Column(name = "rpd_type") - private RedPackDetailTypeEnum type; - @Expose - @Column(name = "rpd_desc_info") - private String descInfo; - @Expose - @Column(name = "rpd_remark") - private String remark; - @Expose - @Column(name = "rpd_create_time") - private Date createTime; - // 鏄惁鏄剧ず - @Column(name = "rpd_display") - private Boolean display; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getUid() { - return uid; - } - - public void setUid(Long uid) { - this.uid = uid; - } - - public BigDecimal getMoney() { - return money; - } - - public void setMoney(BigDecimal money) { - this.money = money; - } - - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public RedPackDetailTypeEnum getType() { - return type; - } - - public void setType(RedPackDetailTypeEnum type) { - this.type = type; - } - - public String getDescInfo() { - return descInfo; - } - - public void setDescInfo(String descInfo) { - this.descInfo = descInfo; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public String getIdentifyCode() { - return identifyCode; - } - - public void setIdentifyCode(String identifyCode) { - this.identifyCode = identifyCode; - } - - public Boolean getDisplay() { - return display; - } - - public void setDisplay(Boolean display) { - this.display = display; - } -} +package com.yeshi.fanli.entity.redpack; + +import java.math.BigDecimal; +import java.util.Date; + +import org.yeshi.utils.generater.mybatis.Column; +import org.yeshi.utils.generater.mybatis.Table; + +import com.google.gson.annotations.Expose; + +/** + * 绾㈠寘鏄庣粏 + * + * @author Administrator + * + */ +@Table("yeshi_ec_red_pack_detail") +public class RedPackDetail { + public enum RedPackDetailTypeEnum { + refund("绾㈠寘閫�鍥�", "http://img.flqapp.com/img/tlj/icon_tlj.png"), + deduct("绾㈠寘娑夊珜杩濊", "http://img.flqapp.com/img/tlj/icon_tlj.png"), + forbid("娑夊珜鎭舵剰鏈哄埛绾㈠寘", "http://img.flqapp.com/img/tlj/icon_tlj.png"), + newUserReward("鏂颁汉濂栧姳", "http://img.flqapp.com/img/tlj/icon_tlj.png"), + invite("绔嬪緱鐜伴噾", "http://img.flqapp.com/img/tlj/icon_tlj.png"), + increaseReward("閫掑濂栧姳", "http://img.flqapp.com/img/tlj/icon_tlj.png"), + seriesReward("杩炵画濂栧姳", "http://img.flqapp.com/img/tlj/icon_tlj.png"), + giveOthers("绾㈠寘璧犻�佸緟棰嗗彇涓�", "http://img.flqapp.com/resource/msg/icon_hongbao_give.png"), + giveOthersSucceed("绾㈠寘璧犻�侀鍙栨垚鍔�", "http://img.flqapp.com/resource/msg/icon_hongbao_give.png"), + giveOthersFail("绾㈠寘璧犻�佽秴鏃堕��鍥�", "http://img.flqapp.com/resource/msg/icon_hongbao_give.png"), + giveOthersReceive("濂藉弸璧犻��", "http://img.flqapp.com/resource/msg/icon_hongbao_give.png"), + useByShopOrder("鍟嗗煄璁㈠崟浣跨敤", "http://img.flqapp.com/img/tlj/icon_tlj.png"), + shopOrderDrawBack("鍟嗗煄璁㈠崟閫�鍥�", "http://img.flqapp.com/img/tlj/icon_tlj.png"), + redExchange("绾㈠寘鎻愮幇涓�", "http://img.flqapp.com/resource/msg/icon_hongbao_tixian.png"), + redExchangePass("绾㈠寘鎻愮幇鎴愬姛", "http://img.flqapp.com/resource/msg/icon_hongbao_tixian.png"), + redExchangeReject("绾㈠寘鎻愮幇澶辫触", "http://img.flqapp.com/resource/msg/icon_hongbao_tixian.png"), + redMonthly("鏈堢粨绾㈠寘", "http://img.flqapp.com/img/tlj/icon_tlj.png"); + + private final String desc; + private final String picture; + + private RedPackDetailTypeEnum(String desc, String picture) { + this.desc = desc; + this.picture = picture; + } + + public String getDesc() { + return desc; + } + + public String getPicture() { + return picture; + } + } + + @Expose + @Column(name = "rpd_id") + private Long id; + // 鍞竴鏍囪瘑 + @Column(name = "rpd_identify_code") + private String identifyCode; + @Expose + @Column(name = "rpd_uid") + private Long uid; + @Expose + @Column(name = "rpd_money") + private BigDecimal money; + @Expose + @Column(name = "rpd_title") + private String title; + @Expose + @Column(name = "rpd_type") + private RedPackDetailTypeEnum type; + @Expose + @Column(name = "rpd_desc_info") + private String descInfo; + @Expose + @Column(name = "rpd_remark") + private String remark; + @Expose + @Column(name = "rpd_create_time") + private Date createTime; + // 鏄惁鏄剧ず + @Column(name = "rpd_display") + private Boolean display; + + private BigDecimal balance; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getUid() { + return uid; + } + + public void setUid(Long uid) { + this.uid = uid; + } + + public BigDecimal getMoney() { + return money; + } + + public void setMoney(BigDecimal money) { + this.money = money; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public RedPackDetailTypeEnum getType() { + return type; + } + + public void setType(RedPackDetailTypeEnum type) { + this.type = type; + } + + public String getDescInfo() { + return descInfo; + } + + public void setDescInfo(String descInfo) { + this.descInfo = descInfo; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getIdentifyCode() { + return identifyCode; + } + + public void setIdentifyCode(String identifyCode) { + this.identifyCode = identifyCode; + } + + public Boolean getDisplay() { + return display; + } + + public void setDisplay(Boolean display) { + this.display = display; + } + + public BigDecimal getBalance() { + return balance; + } + + public void setBalance(BigDecimal balance) { + this.balance = balance; + } +} -- Gitblit v1.8.0