类 TradeCoupon
java.lang.Object
com.publiccms.entities.trade.TradeCoupon
- 所有已实现的接口:
Serializable
TradeCoupon generated by hbm2java
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明private Integercategoryprivate Longcontentprivate intcoupon_typeprivate Stringprivate booleanprivate BigDecimaldiscountprivate intprivate Stringexpiry dateprivate Longidprivate @NotNull @Length(max=100) Stringnameprivate BigDecimalpriceprivate intprivate Stringredeem codeprivate static final longprivate shortprivate Stringstart dateprivate BigDecimalstarting amount -
构造器概要
构造器构造器说明TradeCoupon(short siteId, String name, Integer categoryId, Long contentId, String startDate, String expiryDate, BigDecimal startingAmount, BigDecimal discount, BigDecimal price, int couponType, String redeemCode, int duration, int quantity, String createDate, boolean disabled) TradeCoupon(short siteId, String name, String startDate, int couponType, int duration, int quantity, boolean disabled) -
方法概要
修饰符和类型方法说明intintgetId()getName()getPrice()intshortbooleanvoidsetCategoryId(Integer categoryId) voidsetContentId(Long contentId) voidsetCouponType(int couponType) voidsetCreateDate(String createDate) voidsetDisabled(boolean disabled) voidsetDiscount(BigDecimal discount) voidsetDuration(int duration) voidsetExpiryDate(String expiryDate) voidvoidvoidsetPrice(BigDecimal price) voidsetQuantity(int quantity) voidsetRedeemCode(String redeemCode) voidsetSiteId(short siteId) voidsetStartDate(String startDate) voidsetStartingAmount(BigDecimal startingAmount)
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID- 另请参阅:
-
id
id -
siteId
private short siteId -
name
name名称
-
categoryId
category分类
-
contentId
content内容
-
startDate
start date
开始日期
-
expiryDate
expiry date
过期日期
-
startingAmount
starting amount
起始金额
-
discount
discount
折扣
-
price
price
价格
-
couponType
private int couponTypecoupon_typecoupon_type
-
redeemCode
redeem code兑换码
-
duration
private int duration -
quantity
private int quantity -
createDate
-
disabled
private boolean disabled
-
-
构造器详细资料
-
TradeCoupon
public TradeCoupon() -
TradeCoupon
-
TradeCoupon
public TradeCoupon(short siteId, String name, Integer categoryId, Long contentId, String startDate, String expiryDate, BigDecimal startingAmount, BigDecimal discount, BigDecimal price, int couponType, String redeemCode, int duration, int quantity, String createDate, boolean disabled)
-
-
方法详细资料
-
getId
-
setId
-
getSiteId
public short getSiteId() -
setSiteId
public void setSiteId(short siteId) -
getName
-
setName
-
getCategoryId
-
setCategoryId
-
getContentId
-
setContentId
-
getStartDate
-
setStartDate
-
getExpiryDate
-
setExpiryDate
-
getStartingAmount
-
setStartingAmount
-
getDiscount
-
setDiscount
-
getPrice
-
setPrice
-
getCouponType
public int getCouponType() -
setCouponType
public void setCouponType(int couponType) -
getRedeemCode
-
setRedeemCode
-
getDuration
public int getDuration() -
setDuration
public void setDuration(int duration) -
getQuantity
public int getQuantity() -
setQuantity
public void setQuantity(int quantity) -
getCreateDate
-
setCreateDate
-
isDisabled
public boolean isDisabled() -
setDisabled
public void setDisabled(boolean disabled)
-