类 TradeCoupon
java.lang.Object
com.publiccms.entities.trade.TradeCoupon
- 所有已实现的接口:
Serializable
TradeCoupon generated by hbm2java
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明private Integer
categoryprivate Long
contentprivate int
coupon_typeprivate String
private boolean
private BigDecimal
discountprivate int
private String
expiry dateprivate Long
idprivate @NotNull @Length(max=100) String
nameprivate BigDecimal
priceprivate int
private String
redeem codeprivate static final long
private short
private String
start dateprivate BigDecimal
starting 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) -
方法概要
修饰符和类型方法说明int
int
getId()
getName()
getPrice()
int
short
boolean
void
setCategoryId
(Integer categoryId) void
setContentId
(Long contentId) void
setCouponType
(int couponType) void
setCreateDate
(String createDate) void
setDisabled
(boolean disabled) void
setDiscount
(BigDecimal discount) void
setDuration
(int duration) void
setExpiryDate
(String expiryDate) void
void
void
setPrice
(BigDecimal price) void
setQuantity
(int quantity) void
setRedeemCode
(String redeemCode) void
setSiteId
(short siteId) void
setStartDate
(String startDate) void
setStartingAmount
(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)
-