@Entity
public class TradeAccountHistory
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private long |
accountId
account id
账户id
|
private java.math.BigDecimal |
amount
abmount
金额
|
private java.math.BigDecimal |
amountChange
amount change
金额变动
|
private java.math.BigDecimal |
balance
balance
余额
|
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 |
serialNumber
serial number
流水号
|
private static long |
serialVersionUID |
private short |
siteId |
private int |
status
status(0:pend,1:pay,2:charge,3:refund)
状态(0:待处理,1:支付,2:充值,3:退款)
|
private java.lang.Long |
userId
operate user id
操作用户id
|
构造器和说明 |
---|
TradeAccountHistory() |
TradeAccountHistory(short siteId,
java.lang.String serialNumber,
long accountId,
java.math.BigDecimal amountChange,
java.math.BigDecimal amount,
java.math.BigDecimal balance,
int status,
java.util.Date createDate) |
TradeAccountHistory(short siteId,
java.lang.String serialNumber,
long accountId,
java.lang.Long userId,
java.math.BigDecimal amountChange,
java.math.BigDecimal amount,
java.math.BigDecimal balance,
int status,
java.lang.String description,
java.util.Date createDate) |
限定符和类型 | 方法和说明 |
---|---|
long |
getAccountId() |
java.math.BigDecimal |
getAmount() |
java.math.BigDecimal |
getAmountChange() |
java.math.BigDecimal |
getBalance() |
java.util.Date |
getCreateDate() |
java.lang.String |
getDescription() |
java.lang.Long |
getId() |
java.lang.String |
getSerialNumber() |
short |
getSiteId() |
int |
getStatus() |
java.lang.Long |
getUserId() |
void |
setAccountId(long accountId) |
void |
setAmount(java.math.BigDecimal amount) |
void |
setAmountChange(java.math.BigDecimal amountChange) |
void |
setBalance(java.math.BigDecimal balance) |
void |
setCreateDate(java.util.Date createDate) |
void |
setDescription(java.lang.String description) |
void |
setId(java.lang.Long id) |
void |
setSerialNumber(java.lang.String serialNumber) |
void |
setSiteId(short siteId) |
void |
setStatus(int status) |
void |
setUserId(java.lang.Long userId) |
private static final long serialVersionUID
private java.lang.Long id
private short siteId
private java.lang.String serialNumber
流水号
private long accountId
账户id
private java.lang.Long userId
操作用户id
private java.math.BigDecimal amountChange
金额变动
private java.math.BigDecimal amount
金额
private java.math.BigDecimal balance
余额
private int status
状态(0:待处理,1:支付,2:充值,3:退款)
@Length(max=255) private @Length(max=255) java.lang.String description
描述
private java.util.Date createDate
创建日期
public TradeAccountHistory()
public TradeAccountHistory(short siteId, java.lang.String serialNumber, long accountId, java.math.BigDecimal amountChange, java.math.BigDecimal amount, java.math.BigDecimal balance, int status, java.util.Date createDate)
public TradeAccountHistory(short siteId, java.lang.String serialNumber, long accountId, java.lang.Long userId, java.math.BigDecimal amountChange, java.math.BigDecimal amount, java.math.BigDecimal balance, int status, java.lang.String description, java.util.Date createDate)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public short getSiteId()
public void setSiteId(short siteId)
public java.lang.String getSerialNumber()
public void setSerialNumber(java.lang.String serialNumber)
public long getAccountId()
public void setAccountId(long accountId)
public java.lang.Long getUserId()
public void setUserId(java.lang.Long userId)
public java.math.BigDecimal getAmountChange()
public void setAmountChange(java.math.BigDecimal amountChange)
public java.math.BigDecimal getAmount()
public void setAmount(java.math.BigDecimal amount)
public java.math.BigDecimal getBalance()
public void setBalance(java.math.BigDecimal balance)
public int getStatus()
public void setStatus(int status)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.util.Date getCreateDate()
public void setCreateDate(java.util.Date createDate)