@Entity
public class TradeOrderProduct
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private java.math.BigDecimal |
amount
amount
金额
|
private long |
contentId
content id
内容id
|
private java.lang.Long |
id
id
|
private long |
orderId
order id
订单id
|
private java.math.BigDecimal |
price
price
价格
|
private long |
productId
product id
产品id
|
private int |
quantity
quantity
数量
|
private java.lang.String |
remark
remark
备注
|
private static long |
serialVersionUID |
private short |
siteId |
构造器和说明 |
---|
TradeOrderProduct() |
TradeOrderProduct(short siteId,
long orderId,
long contentId,
long productId,
java.math.BigDecimal price,
int quantity,
java.math.BigDecimal amount) |
TradeOrderProduct(short siteId,
long orderId,
long contentId,
long productId,
java.math.BigDecimal price,
int quantity,
java.math.BigDecimal amount,
java.lang.String remark) |
限定符和类型 | 方法和说明 |
---|---|
java.math.BigDecimal |
getAmount() |
long |
getContentId() |
java.lang.Long |
getId() |
long |
getOrderId() |
java.math.BigDecimal |
getPrice() |
long |
getProductId() |
int |
getQuantity() |
java.lang.String |
getRemark() |
short |
getSiteId() |
void |
setAmount(java.math.BigDecimal amount) |
void |
setContentId(long contentId) |
void |
setId(java.lang.Long id) |
void |
setOrderId(long orderId) |
void |
setPrice(java.math.BigDecimal price) |
void |
setProductId(long productId) |
void |
setQuantity(int quantity) |
void |
setRemark(java.lang.String remark) |
void |
setSiteId(short siteId) |
private static final long serialVersionUID
private java.lang.Long id
private short siteId
private long orderId
订单id
private long contentId
内容id
private long productId
产品id
private java.math.BigDecimal price
价格
private int quantity
数量
private java.math.BigDecimal amount
金额
private java.lang.String remark
备注
public TradeOrderProduct()
public TradeOrderProduct(short siteId, long orderId, long contentId, long productId, java.math.BigDecimal price, int quantity, java.math.BigDecimal amount)
public TradeOrderProduct(short siteId, long orderId, long contentId, long productId, java.math.BigDecimal price, int quantity, java.math.BigDecimal amount, java.lang.String remark)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public short getSiteId()
public void setSiteId(short siteId)
public long getOrderId()
public void setOrderId(long orderId)
public long getContentId()
public void setContentId(long contentId)
public long getProductId()
public void setProductId(long productId)
public java.math.BigDecimal getPrice()
public void setPrice(java.math.BigDecimal price)
public int getQuantity()
public void setQuantity(int quantity)
public java.math.BigDecimal getAmount()
public void setAmount(java.math.BigDecimal amount)
public java.lang.String getRemark()
public void setRemark(java.lang.String remark)