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/dto/order/OrderItem.java | 506 ++++++++++++++++++++++++++++---------------------------- 1 files changed, 253 insertions(+), 253 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dto/order/OrderItem.java b/fanli/src/main/java/com/yeshi/fanli/dto/order/OrderItem.java index dc3011a..b54c74f 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dto/order/OrderItem.java +++ b/fanli/src/main/java/com/yeshi/fanli/dto/order/OrderItem.java @@ -1,253 +1,253 @@ -package com.yeshi.fanli.dto.order; - -import java.math.BigDecimal; - -import com.google.gson.annotations.Expose; -import com.yeshi.fanli.entity.bus.user.Order; -import com.yeshi.fanli.entity.bus.user.UserInfo; - -public class OrderItem { - // -1:閫�娆� 1宸叉敮浠� 2缁撶畻 3宸插埌璐� 4鍞悗 - public final static int STATE_TUIKUAN = -1; - public final static int STATE_YIZHIFU = 1; - public final static int STATE_JIESUAN = 2; - public final static int STATE_DAOZHANG = 3; - public final static int STATE_SHOUHOU = 4; - - private Long id; - - public OrderItem(Long id) { - this.id = id; - } - - @Expose - private String picture;// 鍥剧墖 - - @Expose - private Long auctionId;// 鍟嗗搧ID - - @Expose - private String title;// 鍟嗗搧鍚嶇О - - @Expose - private String orderId;// 璁㈠崟鍙� - - private Integer type;// 璁㈠崟绫诲瀷 - - @Expose - private Integer state; // -1:閫�娆� 1宸叉敮浠� 2缁撶畻 3宸插埌璐� 4鍞悗 - - @Expose - private BigDecimal payMoney;// 浠樻閲戦 - - @Expose - private BigDecimal fanMoney;// 杩斿埄閲戦 - - @Expose - private Long createTime; - - private Long settlementTime;// 缁撶畻鏃堕棿 - - private Long refundTime;// 閫�娆炬椂闂� - - private Long fanTime;// 杩斿埄鏃堕棿 - - private Boolean isGift;// 鏄惁鏈夊垎閿�鎻愭垚 true锛氭湁 - - @Expose - private String desc; - - private UserInfo userInfo; - - private Order order; - - private Integer version;// 鐗堟湰1.2.3涔嬪墠涓�1 鍚庝负2 - - private BigDecimal prePayMoney; - - @Expose - private String stateDesc;// 鐘舵�佺畝浠� - - public String getStateDesc() { - return stateDesc; - } - - public void setStateDesc(String stateDesc) { - this.stateDesc = stateDesc; - } - - public BigDecimal getPrePayMoney() { - return prePayMoney; - } - - public void setPrePayMoney(BigDecimal prePayMoney) { - this.prePayMoney = prePayMoney; - } - - public OrderItem() { - } - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Boolean getIsGift() { - return isGift; - } - - public void setIsGift(Boolean isGift) { - this.isGift = isGift; - } - - public String getPicture() { - return picture; - } - - public void setPicture(String picture) { - this.picture = picture; - } - - public Integer getVersion() { - return version; - } - - public void setVersion(Integer version) { - this.version = version; - } - - public void setDesc(String desc) { - this.desc = desc; - } - - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public String getOrderId() { - return orderId; - } - - public void setOrderId(String orderId) { - this.orderId = orderId; - } - - 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 BigDecimal getPayMoney() { - return payMoney; - } - - public void setPayMoney(BigDecimal payMoney) { - this.payMoney = payMoney; - } - - public BigDecimal getFanMoney() { - return fanMoney; - } - - public void setFanMoney(BigDecimal fanMoney) { - this.fanMoney = fanMoney; - } - - public Long getCreateTime() { - return createTime; - } - - public void setCreateTime(Long createTime) { - this.createTime = createTime; - } - - public UserInfo getUserInfo() { - return userInfo; - } - - public void setUserInfo(UserInfo userInfo) { - this.userInfo = userInfo; - } - - public Order getOrder() { - return order; - } - - public void setOrder(Order order) { - this.order = order; - } - - public Long getAuctionId() { - return auctionId; - } - - public void setAuctionId(Long auctionId) { - this.auctionId = auctionId; - } - - public Long getSettlementTime() { - return settlementTime; - } - - public void setSettlementTime(Long settlementTime) { - this.settlementTime = settlementTime; - } - - public Long getFanTime() { - return fanTime; - } - - public void setFanTime(Long fanTime) { - this.fanTime = fanTime; - } - - public Long getRefundTime() { - return refundTime; - } - - public void setRefundTime(Long refundTime) { - this.refundTime = refundTime; - } - - public String getDesc() { - return desc; - } - - public void setDesc() { - if (state == -1) { - this.desc = "閫�娆捐鍗曚笉杩斿埄"; - this.stateDesc = "宸查��娆�"; - } else if (state == 1) { - this.desc = "纭鏀惰揣15澶╁悗鍗冲彲鍒拌处"; - this.stateDesc = "鏈埌璐�"; - } else if (state == 2) { - this.desc = "纭鏀惰揣15澶╁悗鍗冲彲鍒拌处"; - this.stateDesc = "鏈埌璐�"; - } else if (state == 3) { - this.desc = "宸茶嚜鍔ㄨ浆鍏ヤ綘鐨勪綑棰�"; - this.stateDesc = "宸插埌璐�"; - } else if (state == 4) { - this.desc = "鍞悗璁㈠崟鏃犺繑鍒�"; - this.stateDesc = "宸插敭鍚�"; - } - } - -} +package com.yeshi.fanli.dto.order; + +import java.math.BigDecimal; + +import com.google.gson.annotations.Expose; +import com.yeshi.fanli.entity.bus.user.Order; +import com.yeshi.fanli.entity.bus.user.UserInfo; + +public class OrderItem { + // -1:閫�娆� 1宸叉敮浠� 2缁撶畻 3宸插埌璐� 4鍞悗 + public final static int STATE_TUIKUAN = -1; + public final static int STATE_YIZHIFU = 1; + public final static int STATE_JIESUAN = 2; + public final static int STATE_DAOZHANG = 3; + public final static int STATE_SHOUHOU = 4; + + private Long id; + + public OrderItem(Long id) { + this.id = id; + } + + @Expose + private String picture;// 鍥剧墖 + + @Expose + private String auctionId;// 鍟嗗搧ID + + @Expose + private String title;// 鍟嗗搧鍚嶇О + + @Expose + private String orderId;// 璁㈠崟鍙� + + private Integer type;// 璁㈠崟绫诲瀷 + + @Expose + private Integer state; // -1:閫�娆� 1宸叉敮浠� 2缁撶畻 3宸插埌璐� 4鍞悗 + + @Expose + private BigDecimal payMoney;// 浠樻閲戦 + + @Expose + private BigDecimal fanMoney;// 杩斿埄閲戦 + + @Expose + private Long createTime; + + private Long settlementTime;// 缁撶畻鏃堕棿 + + private Long refundTime;// 閫�娆炬椂闂� + + private Long fanTime;// 杩斿埄鏃堕棿 + + private Boolean isGift;// 鏄惁鏈夊垎閿�鎻愭垚 true锛氭湁 + + @Expose + private String desc; + + private UserInfo userInfo; + + private Order order; + + private Integer version;// 鐗堟湰1.2.3涔嬪墠涓�1 鍚庝负2 + + private BigDecimal prePayMoney; + + @Expose + private String stateDesc;// 鐘舵�佺畝浠� + + public String getStateDesc() { + return stateDesc; + } + + public void setStateDesc(String stateDesc) { + this.stateDesc = stateDesc; + } + + public BigDecimal getPrePayMoney() { + return prePayMoney; + } + + public void setPrePayMoney(BigDecimal prePayMoney) { + this.prePayMoney = prePayMoney; + } + + public OrderItem() { + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Boolean getIsGift() { + return isGift; + } + + public void setIsGift(Boolean isGift) { + this.isGift = isGift; + } + + public String getPicture() { + return picture; + } + + public void setPicture(String picture) { + this.picture = picture; + } + + public Integer getVersion() { + return version; + } + + public void setVersion(Integer version) { + this.version = version; + } + + public void setDesc(String desc) { + this.desc = desc; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + 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 BigDecimal getPayMoney() { + return payMoney; + } + + public void setPayMoney(BigDecimal payMoney) { + this.payMoney = payMoney; + } + + public BigDecimal getFanMoney() { + return fanMoney; + } + + public void setFanMoney(BigDecimal fanMoney) { + this.fanMoney = fanMoney; + } + + public Long getCreateTime() { + return createTime; + } + + public void setCreateTime(Long createTime) { + this.createTime = createTime; + } + + public UserInfo getUserInfo() { + return userInfo; + } + + public void setUserInfo(UserInfo userInfo) { + this.userInfo = userInfo; + } + + public Order getOrder() { + return order; + } + + public void setOrder(Order order) { + this.order = order; + } + + public String getAuctionId() { + return auctionId; + } + + public void setAuctionId(String auctionId) { + this.auctionId = auctionId; + } + + public Long getSettlementTime() { + return settlementTime; + } + + public void setSettlementTime(Long settlementTime) { + this.settlementTime = settlementTime; + } + + public Long getFanTime() { + return fanTime; + } + + public void setFanTime(Long fanTime) { + this.fanTime = fanTime; + } + + public Long getRefundTime() { + return refundTime; + } + + public void setRefundTime(Long refundTime) { + this.refundTime = refundTime; + } + + public String getDesc() { + return desc; + } + + public void setDesc() { + if (state == -1) { + this.desc = "閫�娆捐鍗曚笉杩斿埄"; + this.stateDesc = "宸查��娆�"; + } else if (state == 1) { + this.desc = "纭鏀惰揣15澶╁悗鍗冲彲鍒拌处"; + this.stateDesc = "鏈埌璐�"; + } else if (state == 2) { + this.desc = "纭鏀惰揣15澶╁悗鍗冲彲鍒拌处"; + this.stateDesc = "鏈埌璐�"; + } else if (state == 3) { + this.desc = "宸茶嚜鍔ㄨ浆鍏ヤ綘鐨勪綑棰�"; + this.stateDesc = "宸插埌璐�"; + } else if (state == 4) { + this.desc = "鍞悗璁㈠崟鏃犺繑鍒�"; + this.stateDesc = "宸插敭鍚�"; + } + } + +} -- Gitblit v1.8.0