类 CmsContentProduct
java.lang.Object
com.publiccms.entities.cms.CmsContentProduct
- 所有已实现的接口:
Serializable
CmsContentProduct generated by hbm2java
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明private long
contentprivate String
coverprivate Long
idprivate int
inventoryprivate Integer
max quantityprivate Integer
min quantityprivate BigDecimal
priceprivate int
salesprivate static final long
private short
private @NotBlank @Length(max=100) String
titleprivate long
upload 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) -
方法概要
修饰符和类型方法说明long
getCover()
getId()
int
getPrice()
int
getSales()
short
getTitle()
long
void
setContentId
(long contentId) void
void
void
setInventory
(int inventory) void
setMaxQuantity
(Integer maxQuantity) void
setMinQuantity
(Integer minQuantity) void
setPrice
(BigDecimal price) void
setSales
(int sales) void
setSiteId
(short siteId) void
void
setUserId
(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)
-