@Entity
public class CmsContentProduct
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private long |
contentId
content
内容
|
private java.lang.String |
cover
cover
封面图
|
private java.lang.Long |
id
id
|
private int |
inventory
inventory
库存
|
private java.lang.Integer |
maxQuantity
max quantity
最大购买数量
|
private java.lang.Integer |
minQuantity
min quantity
最小购买数量
|
private java.math.BigDecimal |
price
price
价格
|
private int |
sales
sales
销量
|
private static long |
serialVersionUID |
private short |
siteId |
private @NotBlank @Length(max=100) java.lang.String |
title
title
标题
|
private long |
userId
upload user id
上传用户id
|
构造器和说明 |
---|
CmsContentProduct() |
CmsContentProduct(short siteId,
long contentId,
long userId,
java.lang.String title,
java.math.BigDecimal price,
int inventory,
int sales) |
CmsContentProduct(short siteId,
long contentId,
long userId,
java.lang.String cover,
java.lang.String title,
java.math.BigDecimal price,
java.lang.Integer minQuantity,
java.lang.Integer maxQuantity,
int inventory,
int sales) |
限定符和类型 | 方法和说明 |
---|---|
long |
getContentId() |
java.lang.String |
getCover() |
java.lang.Long |
getId() |
int |
getInventory() |
java.lang.Integer |
getMaxQuantity() |
java.lang.Integer |
getMinQuantity() |
java.math.BigDecimal |
getPrice() |
int |
getSales() |
short |
getSiteId() |
java.lang.String |
getTitle() |
long |
getUserId() |
void |
setContentId(long contentId) |
void |
setCover(java.lang.String cover) |
void |
setId(java.lang.Long id) |
void |
setInventory(int inventory) |
void |
setMaxQuantity(java.lang.Integer maxQuantity) |
void |
setMinQuantity(java.lang.Integer minQuantity) |
void |
setPrice(java.math.BigDecimal price) |
void |
setSales(int sales) |
void |
setSiteId(short siteId) |
void |
setTitle(java.lang.String title) |
void |
setUserId(long userId) |
private static final long serialVersionUID
private java.lang.Long id
private short siteId
private long contentId
内容
private long userId
上传用户id
private java.lang.String cover
封面图
@NotBlank @Length(max=100) private @NotBlank @Length(max=100) java.lang.String title
标题
private java.math.BigDecimal price
价格
private java.lang.Integer minQuantity
最小购买数量
private java.lang.Integer maxQuantity
最大购买数量
private int inventory
库存
private int sales
销量
public CmsContentProduct()
public CmsContentProduct(short siteId, long contentId, long userId, java.lang.String title, java.math.BigDecimal price, int inventory, int sales)
public CmsContentProduct(short siteId, long contentId, long userId, java.lang.String cover, java.lang.String title, java.math.BigDecimal price, java.lang.Integer minQuantity, java.lang.Integer maxQuantity, int inventory, int sales)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public short getSiteId()
public void setSiteId(short siteId)
public long getContentId()
public void setContentId(long contentId)
public long getUserId()
public void setUserId(long userId)
public java.lang.String getCover()
public void setCover(java.lang.String cover)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public java.math.BigDecimal getPrice()
public void setPrice(java.math.BigDecimal price)
public java.lang.Integer getMinQuantity()
public void setMinQuantity(java.lang.Integer minQuantity)
public java.lang.Integer getMaxQuantity()
public void setMaxQuantity(java.lang.Integer maxQuantity)
public int getInventory()
public void setInventory(int inventory)
public int getSales()
public void setSales(int sales)