@Entity
public class TradeOrder
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private java.lang.String |
address
address
收货地址
|
private java.lang.String |
addressee
addressee
收件人
|
private java.math.BigDecimal |
amount
amount
金额
|
private boolean |
confirmed
confirmed
是否确认
|
private java.util.Date |
createDate
create date
创建日期
|
private java.lang.Long |
id
id
|
private java.lang.String |
ip
ip
|
private java.util.Date |
paymentDate
payment date
付款日期
|
private java.lang.Long |
paymentId
payment id
支付订单id
|
private java.util.Date |
processDate
process date
处理日期
|
private boolean |
processed
processed
是否处理
|
private java.lang.String |
processInfo
process info
处理信息
|
private java.lang.Long |
processUserId
process user id
处理用户id
|
private java.lang.String |
remark
remark
备注
|
private static long |
serialVersionUID |
private short |
siteId |
private int |
status
status(0:pending,1:invalid,2:paid,3:refunded,4:close)
状态(0:待处理,1:无效订单,2:已支付,3:已退款,4:已关闭)
|
private java.lang.String |
telephone
telphone
电话
|
private @Length(max=255) java.lang.String |
title
title
标题
|
private java.util.Date |
updateDate
update date
更新日期
|
private long |
userId
user id
用户id
|
构造器和说明 |
---|
TradeOrder() |
TradeOrder(short siteId,
long userId,
java.lang.String title,
java.math.BigDecimal amount,
java.lang.Long paymentId,
java.lang.String address,
java.lang.String addressee,
java.lang.String telephone,
java.lang.String ip,
java.lang.String remark,
int status,
boolean confirmed,
boolean processed,
long processUserId,
java.lang.String processInfo,
java.util.Date updateDate,
java.util.Date createDate,
java.util.Date processDate,
java.util.Date paymentDate) |
TradeOrder(short siteId,
long userId,
java.lang.String title,
java.math.BigDecimal amount,
java.lang.String ip,
int status,
boolean confirmed,
boolean processed,
java.util.Date createDate) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getAddress() |
java.lang.String |
getAddressee() |
java.math.BigDecimal |
getAmount() |
java.util.Date |
getCreateDate() |
java.lang.Long |
getId() |
java.lang.String |
getIp() |
java.util.Date |
getPaymentDate() |
java.lang.Long |
getPaymentId() |
java.util.Date |
getProcessDate() |
java.lang.String |
getProcessInfo() |
java.lang.Long |
getProcessUserId() |
java.lang.String |
getRemark() |
short |
getSiteId() |
int |
getStatus() |
java.lang.String |
getTelephone() |
java.lang.String |
getTitle() |
java.util.Date |
getUpdateDate() |
long |
getUserId() |
boolean |
isConfirmed() |
boolean |
isProcessed() |
void |
setAddress(java.lang.String address) |
void |
setAddressee(java.lang.String addressee) |
void |
setAmount(java.math.BigDecimal amount) |
void |
setConfirmed(boolean confirmed) |
void |
setCreateDate(java.util.Date createDate) |
void |
setId(java.lang.Long id) |
void |
setIp(java.lang.String ip) |
void |
setPaymentDate(java.util.Date paymentDate) |
void |
setPaymentId(java.lang.Long paymentId) |
void |
setProcessDate(java.util.Date processDate) |
void |
setProcessed(boolean processed) |
void |
setProcessInfo(java.lang.String processInfo) |
void |
setProcessUserId(java.lang.Long processUserId) |
void |
setRemark(java.lang.String remark) |
void |
setSiteId(short siteId) |
void |
setStatus(int status) |
void |
setTelephone(java.lang.String telephone) |
void |
setTitle(java.lang.String title) |
void |
setUpdateDate(java.util.Date updateDate) |
void |
setUserId(long userId) |
private static final long serialVersionUID
private java.lang.Long id
private short siteId
private long userId
用户id
@Length(max=255) private @Length(max=255) java.lang.String title
标题
private java.math.BigDecimal amount
金额
private java.lang.Long paymentId
支付订单id
private java.lang.String address
收货地址
private java.lang.String addressee
收件人
private java.lang.String telephone
电话
private java.lang.String ip
private java.lang.String remark
备注
private int status
状态(0:待处理,1:无效订单,2:已支付,3:已退款,4:已关闭)
private boolean confirmed
是否确认
private boolean processed
是否处理
private java.lang.Long processUserId
处理用户id
private java.lang.String processInfo
处理信息
private java.util.Date updateDate
更新日期
private java.util.Date createDate
创建日期
private java.util.Date processDate
处理日期
private java.util.Date paymentDate
付款日期
public TradeOrder()
public TradeOrder(short siteId, long userId, java.lang.String title, java.math.BigDecimal amount, java.lang.String ip, int status, boolean confirmed, boolean processed, java.util.Date createDate)
public TradeOrder(short siteId, long userId, java.lang.String title, java.math.BigDecimal amount, java.lang.Long paymentId, java.lang.String address, java.lang.String addressee, java.lang.String telephone, java.lang.String ip, java.lang.String remark, int status, boolean confirmed, boolean processed, long processUserId, java.lang.String processInfo, java.util.Date updateDate, java.util.Date createDate, java.util.Date processDate, java.util.Date paymentDate)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public short getSiteId()
public void setSiteId(short siteId)
public long getUserId()
public void setUserId(long userId)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public java.math.BigDecimal getAmount()
public void setAmount(java.math.BigDecimal amount)
public java.lang.Long getPaymentId()
public void setPaymentId(java.lang.Long paymentId)
public java.lang.String getAddress()
public void setAddress(java.lang.String address)
public java.lang.String getAddressee()
public void setAddressee(java.lang.String addressee)
public java.lang.String getTelephone()
public void setTelephone(java.lang.String telephone)
public java.lang.String getIp()
public void setIp(java.lang.String ip)
public java.lang.String getRemark()
public void setRemark(java.lang.String remark)
public int getStatus()
public void setStatus(int status)
public boolean isConfirmed()
public void setConfirmed(boolean confirmed)
public boolean isProcessed()
public void setProcessed(boolean processed)
public java.lang.Long getProcessUserId()
public void setProcessUserId(java.lang.Long processUserId)
public java.lang.String getProcessInfo()
public void setProcessInfo(java.lang.String processInfo)
public java.util.Date getUpdateDate()
public void setUpdateDate(java.util.Date updateDate)
public java.util.Date getCreateDate()
public void setCreateDate(java.util.Date createDate)
public java.util.Date getProcessDate()
public void setProcessDate(java.util.Date processDate)
public java.util.Date getPaymentDate()
public void setPaymentDate(java.util.Date paymentDate)