类 CmsContentProduct
java.lang.Object
com.publiccms.entities.cms.CmsContentProduct
- 所有已实现的接口:
Serializable
CmsContentProduct generated by hbm2java
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明private longcontentprivate Stringcoverprivate Longidprivate intinventoryprivate Integermax quantityprivate Integermin quantityprivate BigDecimalpriceprivate intsalesprivate static final longprivate shortprivate @NotBlank @Length(max=100) Stringtitleprivate longupload user id -
构造器概要
构造器构造器说明CmsContentProduct(short siteId, long contentId, long userId, String cover, String title, BigDecimal price, Integer minQuantity, Integer maxQuantity, int inventory, int sales) CmsContentProduct(short siteId, long contentId, long userId, String title, BigDecimal price, int inventory, int sales) -
方法概要
修饰符和类型方法说明longgetCover()getId()intgetPrice()intgetSales()shortgetTitle()longvoidsetContentId(long contentId) voidvoidvoidsetInventory(int inventory) voidsetMaxQuantity(Integer maxQuantity) voidsetMinQuantity(Integer minQuantity) voidsetPrice(BigDecimal price) voidsetSales(int sales) voidsetSiteId(short siteId) voidvoidsetUserId(long userId)
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID- 另请参阅:
-
id
id -
siteId
private short siteId -
contentId
private long contentIdcontent内容
-
userId
private long userIdupload user id上传用户id
-
cover
cover封面图
-
title
title标题
-
price
price价格
-
minQuantity
min quantity最小购买数量
-
maxQuantity
max quantity最大购买数量
-
inventory
private int inventoryinventory库存
-
sales
private int salessales销量
-
-
构造器详细资料
-
CmsContentProduct
public CmsContentProduct() -
CmsContentProduct
public CmsContentProduct(short siteId, long contentId, long userId, String title, BigDecimal price, int inventory, int sales) -
CmsContentProduct
public CmsContentProduct(short siteId, long contentId, long userId, String cover, String title, BigDecimal price, Integer minQuantity, Integer maxQuantity, int inventory, int sales)
-
-
方法详细资料
-
getId
-
setId
-
getSiteId
public short getSiteId() -
setSiteId
public void setSiteId(short siteId) -
getContentId
public long getContentId() -
setContentId
public void setContentId(long contentId) -
getUserId
public long getUserId() -
setUserId
public void setUserId(long userId) -
getCover
-
setCover
-
getTitle
-
setTitle
-
getPrice
-
setPrice
-
getMinQuantity
-
setMinQuantity
-
getMaxQuantity
-
setMaxQuantity
-
getInventory
public int getInventory() -
setInventory
public void setInventory(int inventory) -
getSales
public int getSales() -
setSales
public void setSales(int sales)
-