@Entity
public class TradeCoupon
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private java.lang.Integer |
categoryId
category
分类
|
private java.lang.Long |
contentId
content
内容
|
private java.lang.String |
createDate |
private boolean |
disabled |
private java.math.BigDecimal |
discount |
private int |
duration |
private java.lang.String |
expiryDate |
private java.lang.Long |
id
id
|
private @NotNull @Length(max=100) java.lang.String |
name
name
名称
|
private java.math.BigDecimal |
price |
private int |
quantity |
private java.lang.String |
redeemCode |
private static long |
serialVersionUID |
private short |
siteId |
private java.lang.String |
startDate |
private java.math.BigDecimal |
startingAmount |
private int |
type |
构造器和说明 |
---|
TradeCoupon() |
TradeCoupon(short siteId,
java.lang.String name,
java.lang.Integer categoryId,
java.lang.Long contentId,
java.lang.String startDate,
java.lang.String expiryDate,
java.math.BigDecimal startingAmount,
java.math.BigDecimal discount,
java.math.BigDecimal price,
int type,
java.lang.String redeemCode,
int duration,
int quantity,
java.lang.String createDate,
boolean disabled) |
TradeCoupon(short siteId,
java.lang.String name,
java.lang.String startDate,
int type,
int duration,
int quantity,
boolean disabled) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Integer |
getCategoryId() |
java.lang.Long |
getContentId() |
java.lang.String |
getCreateDate() |
java.math.BigDecimal |
getDiscount() |
int |
getDuration() |
java.lang.String |
getExpiryDate() |
java.lang.Long |
getId() |
java.lang.String |
getName() |
java.math.BigDecimal |
getPrice() |
int |
getQuantity() |
java.lang.String |
getRedeemCode() |
short |
getSiteId() |
java.lang.String |
getStartDate() |
java.math.BigDecimal |
getStartingAmount() |
int |
getType() |
boolean |
isDisabled() |
void |
setCategoryId(java.lang.Integer categoryId) |
void |
setContentId(java.lang.Long contentId) |
void |
setCreateDate(java.lang.String createDate) |
void |
setDisabled(boolean disabled) |
void |
setDiscount(java.math.BigDecimal discount) |
void |
setDuration(int duration) |
void |
setExpiryDate(java.lang.String expiryDate) |
void |
setId(java.lang.Long id) |
void |
setName(java.lang.String name) |
void |
setPrice(java.math.BigDecimal price) |
void |
setQuantity(int quantity) |
void |
setRedeemCode(java.lang.String redeemCode) |
void |
setSiteId(short siteId) |
void |
setStartDate(java.lang.String startDate) |
void |
setStartingAmount(java.math.BigDecimal startingAmount) |
void |
setType(int type) |
private static final long serialVersionUID
private java.lang.Long id
private short siteId
@NotNull @Length(max=100) private @NotNull @Length(max=100) java.lang.String name
名称
private java.lang.Integer categoryId
分类
private java.lang.Long contentId
内容
private java.lang.String startDate
private java.lang.String expiryDate
private java.math.BigDecimal startingAmount
private java.math.BigDecimal discount
private java.math.BigDecimal price
private int type
private java.lang.String redeemCode
private int duration
private int quantity
private java.lang.String createDate
private boolean disabled
public TradeCoupon()
public TradeCoupon(short siteId, java.lang.String name, java.lang.String startDate, int type, int duration, int quantity, boolean disabled)
public TradeCoupon(short siteId, java.lang.String name, java.lang.Integer categoryId, java.lang.Long contentId, java.lang.String startDate, java.lang.String expiryDate, java.math.BigDecimal startingAmount, java.math.BigDecimal discount, java.math.BigDecimal price, int type, java.lang.String redeemCode, int duration, int quantity, java.lang.String createDate, boolean disabled)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public short getSiteId()
public void setSiteId(short siteId)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.Integer getCategoryId()
public void setCategoryId(java.lang.Integer categoryId)
public java.lang.Long getContentId()
public void setContentId(java.lang.Long contentId)
public java.lang.String getStartDate()
public void setStartDate(java.lang.String startDate)
public java.lang.String getExpiryDate()
public void setExpiryDate(java.lang.String expiryDate)
public java.math.BigDecimal getStartingAmount()
public void setStartingAmount(java.math.BigDecimal startingAmount)
public java.math.BigDecimal getDiscount()
public void setDiscount(java.math.BigDecimal discount)
public java.math.BigDecimal getPrice()
public void setPrice(java.math.BigDecimal price)
public int getType()
public void setType(int type)
public java.lang.String getRedeemCode()
public void setRedeemCode(java.lang.String redeemCode)
public int getDuration()
public void setDuration(int duration)
public int getQuantity()
public void setQuantity(int quantity)
public java.lang.String getCreateDate()
public void setCreateDate(java.lang.String createDate)
public boolean isDisabled()
public void setDisabled(boolean disabled)