@Entity
public class TradePayment
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private java.lang.String |
accountSerialNumber
account serial number
账户流水
|
private java.lang.String |
accountType
account type(account,alipay,wechat)
账户类型(account:账户,alipay:支付宝,wechat:微信)
|
private java.math.BigDecimal |
amount
amount
金额
|
private java.util.Date |
createDate
create date
创建日期
|
private @Length(max=255) java.lang.String |
description
description
描述
|
private java.lang.Long |
id
id
|
private java.lang.String |
ip
ip
|
private java.util.Date |
paymentDate
payment date
支付日期
|
private java.util.Date |
processDate
process date
处理日期
|
private boolean |
processed
processed
已处理
|
private java.lang.Long |
processUserId
process user id
处理用户id
|
private java.lang.String |
serialNumber
serial number
订单流水
|
private static long |
serialVersionUID |
private short |
siteId |
private int |
status
status(0:pending pay,1:paid,2:pending refund,3:refunded,4:closed)
状态(0:待支付,1:已支付,2:待退款,3:已退款,4:已关闭)
|
private java.lang.String |
tradeType
trade type(recharge,product)
订单类型(recharge:充值,product:产品)
|
private java.util.Date |
updateDate
update date
更新日期
|
private long |
userId
user id
用户id
|
构造器和说明 |
---|
TradePayment() |
TradePayment(short siteId,
long userId,
java.math.BigDecimal amount,
java.lang.String tradeType,
java.lang.String serialNumber,
java.lang.String accountType,
java.lang.String ip,
int status,
boolean processed,
java.util.Date createDate) |
TradePayment(short siteId,
long userId,
java.math.BigDecimal amount,
java.lang.String description,
java.lang.String tradeType,
java.lang.String serialNumber,
java.lang.String accountType,
java.lang.String accountSerialNumber,
java.lang.String ip,
int status,
boolean processed,
java.util.Date updateDate,
java.util.Date createDate,
java.util.Date processDate,
java.util.Date paymentDate) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getAccountSerialNumber() |
java.lang.String |
getAccountType() |
java.math.BigDecimal |
getAmount() |
java.util.Date |
getCreateDate() |
java.lang.String |
getDescription() |
java.lang.Long |
getId() |
java.lang.String |
getIp() |
java.util.Date |
getPaymentDate() |
java.util.Date |
getProcessDate() |
java.lang.Long |
getProcessUserId() |
java.lang.String |
getSerialNumber() |
short |
getSiteId() |
int |
getStatus() |
java.lang.String |
getTradeType() |
java.util.Date |
getUpdateDate() |
long |
getUserId() |
boolean |
isProcessed() |
void |
setAccountSerialNumber(java.lang.String accountSerialNumber) |
void |
setAccountType(java.lang.String accountType) |
void |
setAmount(java.math.BigDecimal amount) |
void |
setCreateDate(java.util.Date createDate) |
void |
setDescription(java.lang.String description) |
void |
setId(java.lang.Long id) |
void |
setIp(java.lang.String ip) |
void |
setPaymentDate(java.util.Date paymentDate) |
void |
setProcessDate(java.util.Date processDate) |
void |
setProcessed(boolean processed) |
void |
setProcessUserId(java.lang.Long processUserId) |
void |
setSerialNumber(java.lang.String serialNumber) |
void |
setSiteId(short siteId) |
void |
setStatus(int status) |
void |
setTradeType(java.lang.String tradeType) |
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
private java.math.BigDecimal amount
金额
@Length(max=255) private @Length(max=255) java.lang.String description
描述
private java.lang.String tradeType
订单类型(recharge:充值,product:产品)
private java.lang.String serialNumber
订单流水
private java.lang.String accountType
账户类型(account:账户,alipay:支付宝,wechat:微信)
private java.lang.String accountSerialNumber
账户流水
private java.lang.String ip
private int status
状态(0:待支付,1:已支付,2:待退款,3:已退款,4:已关闭)
private boolean processed
已处理
private java.lang.Long processUserId
处理用户id
private java.util.Date updateDate
更新日期
private java.util.Date createDate
创建日期
private java.util.Date processDate
处理日期
private java.util.Date paymentDate
支付日期
public TradePayment()
public TradePayment(short siteId, long userId, java.math.BigDecimal amount, java.lang.String tradeType, java.lang.String serialNumber, java.lang.String accountType, java.lang.String ip, int status, boolean processed, java.util.Date createDate)
public TradePayment(short siteId, long userId, java.math.BigDecimal amount, java.lang.String description, java.lang.String tradeType, java.lang.String serialNumber, java.lang.String accountType, java.lang.String accountSerialNumber, java.lang.String ip, int status, boolean processed, 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.math.BigDecimal getAmount()
public void setAmount(java.math.BigDecimal amount)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getTradeType()
public void setTradeType(java.lang.String tradeType)
public java.lang.String getSerialNumber()
public void setSerialNumber(java.lang.String serialNumber)
public java.lang.String getAccountType()
public void setAccountType(java.lang.String accountType)
public java.lang.String getAccountSerialNumber()
public void setAccountSerialNumber(java.lang.String accountSerialNumber)
public java.lang.String getIp()
public void setIp(java.lang.String ip)
public int getStatus()
public void setStatus(int status)
public boolean isProcessed()
public void setProcessed(boolean processed)
public java.lang.Long getProcessUserId()
public void setProcessUserId(java.lang.Long processUserId)
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)