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/bus/user/HongBaoV2.java | 458 ++++++++++++++++++++++++++++++--------------------------- 1 files changed, 242 insertions(+), 216 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/HongBaoV2.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/HongBaoV2.java index 42f849c..a5058f8 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/HongBaoV2.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/HongBaoV2.java @@ -1,216 +1,242 @@ -package com.yeshi.fanli.entity.bus.user; - -import java.io.Serializable; -import java.math.BigDecimal; -import java.util.Date; - -import org.yeshi.utils.mybatis.Column; -import org.yeshi.utils.mybatis.Table; - -/** - * 璁㈠崟-绠�鐗� - * - * @author yj - * - * @date 2018骞�12鏈�23鏃� - */ - -@Table("yeshi_ec_hongbao_v2") -public class HongBaoV2 implements Serializable { - - private static final long serialVersionUID = 1L; - - // 鐘舵�佺紪鍙� 1-鏈埌鏃堕棿涓嶅彲棰嗗彇 2-鍙鍙� 3-宸茬粡棰嗗彇 4-绾㈠寘澶辨晥 - public final static int STATE_BUKELINGQU = 1; - public final static int STATE_KELINGQU = 2; - public final static int STATE_YILINGQU = 3; - public final static int STATE_SHIXIAO = 4; - - // 5-閮ㄥ垎澶辨晥 - public final static int STATE_BUFENSHIXIAO = 5; - - // 鑷喘绾㈠寘 鑰佺増 2灞炰簬鑷喘 - public final static int TYPE_ZIGOU = 1; - // 娲诲姩绾㈠寘 - public final static int TYPE_HUODONG = 3; - // 鏂颁汉绾㈠寘 - public final static int TYPE_XINREN = 4; - - - public final static int TYPE_YAOQING = 5; - // 涓�绾у垎閿�绾㈠寘 - public final static int TYPE_YIJI = 6; - // 浜岀骇鍒嗛攢绾㈠寘 - public final static int TYPE_ERJI = 7; - - // 鍒嗕韩鍟嗗搧寰楁潵鐨勭孩鍖� - public final static int TYPE_SHARE_GOODS = 20; - // 涓�绾у垎浜禋鍒嗛攢绾㈠寘 - public final static int TYPE_SHARE_YIJI = 21; - // 浜岀骇鍒嗕韩璧氬垎閿�绾㈠寘 - public final static int TYPE_SHARE_ERJI = 22; - - - @Column(name = "hb_id") - private Long id; - - // 鐢ㄦ埛id - @Column(name = "hb_uid") - private UserInfo userInfo; - - // 璁㈠崟鍙� - @Column(name = "hb_urank") - private Integer urank; - - // 绫诲瀷锛氭窐瀹�/浜笢 - @Column(name = "hb_pid") - private HongBaoV2 parent; - - // 鍟嗗搧 - @Column(name = "hb_money") - private BigDecimal money; - - // 鍟嗗搧鏁� - @Column(name = "hb_type") - private Integer type; - - // 鐘舵�侊細璁㈠崟浠樻銆佽鍗曞け鏁堛�佽鍗曠粨绠� - @Column(name = "hb_state") - private Integer state; - - // 鏁堟灉棰勪及 - @Column(name = "hb_version") - private Integer version; - - // 棰勪及鏀跺叆 - @Column(name = "hb_beizhu") - private String beizhu; - - // 浠樻閲戦 - @Column(name = "hb_pre_get_time") - private Date preGetTime; - - // 缁撶畻閲戦 - @Column(name = "hb_get_time") - private Date getTime; - - // 鍒涘缓鏃堕棿 - @Column(name = "cog_create_time") - private Date createTime; - - // 鏇存柊鏃堕棿 - @Column(name = "cog_update_time") - private Date updateTime; - - public HongBaoV2() { - - } - - public HongBaoV2(Long id) { - this.id = id; - } - - 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 Integer getUrank() { - return urank; - } - - public void setUrank(Integer urank) { - this.urank = urank; - } - - public HongBaoV2 getParent() { - return parent; - } - - public void setParent(HongBaoV2 parent) { - this.parent = parent; - } - - public BigDecimal getMoney() { - return money; - } - - public void setMoney(BigDecimal money) { - this.money = money; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - public Integer getState() { - return state; - } - - public void setState(Integer state) { - this.state = state; - } - - public Integer getVersion() { - return version; - } - - public void setVersion(Integer version) { - this.version = version; - } - - public String getBeizhu() { - return beizhu; - } - - public void setBeizhu(String beizhu) { - this.beizhu = beizhu; - } - - public Date getPreGetTime() { - return preGetTime; - } - - public void setPreGetTime(Date preGetTime) { - this.preGetTime = preGetTime; - } - - public Date getGetTime() { - return getTime; - } - - public void setGetTime(Date getTime) { - this.getTime = getTime; - } - - 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; - } -} +package com.yeshi.fanli.entity.bus.user; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +import org.yeshi.utils.generater.mybatis.Column; +import org.yeshi.utils.generater.mybatis.Table; + +/** + * 璁㈠崟-绠�鐗� + * + * @author yj + * + * @date 2018骞�12鏈�23鏃� + */ + +@Table("yeshi_ec_hongbao_v2") +public class HongBaoV2 implements Serializable { + + private static final long serialVersionUID = 1L; + + // 鐘舵�佺紪鍙� 1-鏈埌鏃堕棿涓嶅彲棰嗗彇 2-鍙鍙� 3-宸茬粡棰嗗彇 4-绾㈠寘澶辨晥 + public final static int STATE_BUKELINGQU = 1; + public final static int STATE_KELINGQU = 2; + public final static int STATE_YILINGQU = 3; + public final static int STATE_SHIXIAO = 4; + public final static int STATE_LINGQUING = 5;//棰嗗彇涓紝澶勪簬2鍜�3涔嬮棿 + //TODO 涓棿鐘舵�佸緟浣跨敤 + + // 5-閮ㄥ垎澶辨晥(杩斿洖瀹㈡埛绔樉绀虹敤锛屼笉鐢ㄤ綔閫昏緫澶勭悊) + public final static int STATE_BUFENSHIXIAO = 5; + + // 鑷喘绾㈠寘 鑰佺増 2灞炰簬鑷喘 + public final static int TYPE_ZIGOU = 1; + // 娲诲姩绾㈠寘 + public final static int TYPE_HUODONG = 3; + // 鏂颁汉绾㈠寘 + public final static int TYPE_XINREN = 4; + + // 浣跨敤鍒哥孩鍖� + public final static int TYPE_COUPON = 10; + + public final static int TYPE_YAOQING = 5; + // 涓�绾у垎閿�绾㈠寘 + public final static int TYPE_YIJI = 6; + // 浜岀骇鍒嗛攢绾㈠寘 + public final static int TYPE_ERJI = 7; + + // 鍒嗕韩鍟嗗搧寰楁潵鐨勭孩鍖� + public final static int TYPE_SHARE_GOODS = 20; + // 涓�绾у垎浜禋鍒嗛攢绾㈠寘 + public final static int TYPE_SHARE_YIJI = 21; + // 浜岀骇鍒嗕韩璧氬垎閿�绾㈠寘 + public final static int TYPE_SHARE_ERJI = 22; + + // 閲戝竵鍏戞崲绾㈠寘 + public final static int TYPE_EXCHANGE = 30; + + // 楗夸簡涔堢孩鍖� + public final static int TYPE_ELME = 25; + + // 瓒呯骇浼氬憳 + public final static int RANK_VIP = 100; + public final static int RANK_VIP_PRE_3 = 30;// 瓒呯骇浼氬憳绗竴闃舵 + public final static int RANK_VIP_PRE_7 = 70;// 瓒呯骇浼氬憳绗簩闃舵 + + @Column(name = "hb_id") + private Long id; + + // 鐢ㄦ埛id + @Column(name = "hb_uid") + private UserInfo userInfo; + + // 璁㈠崟鍙� + @Column(name = "hb_urank") + private Integer urank; + + // 绫诲瀷锛氭窐瀹�/浜笢 + @Column(name = "hb_pid") + private HongBaoV2 parent; + + // 鍟嗗搧 + @Column(name = "hb_money") + private BigDecimal money; + + // 鍟嗗搧鏁� + @Column(name = "hb_type") + private Integer type; + + // 鐘舵�侊細璁㈠崟浠樻銆佽鍗曞け鏁堛�佽鍗曠粨绠� + @Column(name = "hb_state") + private Integer state; + + // 鏁堟灉棰勪及 + @Column(name = "hb_version") + private Integer version; + + // 棰勪及鏀跺叆 + @Column(name = "hb_beizhu") + private String beizhu; + + // 浠樻閲戦 + @Column(name = "hb_pre_get_time") + private Date preGetTime; + + // 缁撶畻閲戦 + @Column(name = "hb_get_time") + private Date getTime; + + // 鍒涘缓鏃堕棿 + @Column(name = "cog_create_time") + private Date createTime; + + // 鏇存柊鏃堕棿 + @Column(name = "cog_update_time") + private Date updateTime; + + // 璁㈠崟绫诲瀷 + @Column(name = "cog_order_type") + private Integer orderType; + + public HongBaoV2() { + + } + + public HongBaoV2(Long id) { + this.id = id; + } + + 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 Integer getUrank() { + return urank; + } + + public void setUrank(Integer urank) { + this.urank = urank; + } + + public HongBaoV2 getParent() { + return parent; + } + + public void setParent(HongBaoV2 parent) { + this.parent = parent; + } + + public BigDecimal getMoney() { + return money; + } + + public void setMoney(BigDecimal money) { + this.money = money; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + public Integer getState() { + return state; + } + + public void setState(Integer state) { + this.state = state; + } + + public Integer getVersion() { + return version; + } + + public void setVersion(Integer version) { + this.version = version; + } + + public String getBeizhu() { + return beizhu; + } + + public void setBeizhu(String beizhu) { + this.beizhu = beizhu; + } + + public Date getPreGetTime() { + return preGetTime; + } + + public void setPreGetTime(Date preGetTime) { + this.preGetTime = preGetTime; + } + + public Date getGetTime() { + return getTime; + } + + public void setGetTime(Date getTime) { + this.getTime = getTime; + } + + 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; + } +} -- Gitblit v1.8.0