类 CmsContentProduct

java.lang.Object
com.publiccms.entities.cms.CmsContentProduct
所有已实现的接口:
Serializable

@Entity public class CmsContentProduct extends Object implements Serializable
CmsContentProduct generated by hbm2java
另请参阅:
  • 字段详细资料

    • serialVersionUID

      private static final long serialVersionUID
      另请参阅:
    • id

      private Long id
      id
    • siteId

      private short siteId
    • contentId

      private long contentId
      content

      内容

    • userId

      private long userId
      upload user id

      上传用户id

    • cover

      private String cover
      cover

      封面图

    • title

      @NotBlank @Length(max=100) private @NotBlank @Length(max=100) String title
      title

      标题

    • price

      private BigDecimal price
      price

      价格

    • minQuantity

      private Integer minQuantity
      min quantity

      最小购买数量

    • maxQuantity

      private Integer maxQuantity
      max quantity

      最大购买数量

    • inventory

      private int inventory
      inventory

      库存

    • sales

      private int sales
      sales

      销量

  • 构造器详细资料

    • 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

      public Long getId()
    • setId

      public void setId(Long id)
    • 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

      public String getCover()
    • setCover

      public void setCover(String cover)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getPrice

      public BigDecimal getPrice()
    • setPrice

      public void setPrice(BigDecimal price)
    • getMinQuantity

      public Integer getMinQuantity()
    • setMinQuantity

      public void setMinQuantity(Integer minQuantity)
    • getMaxQuantity

      public Integer getMaxQuantity()
    • setMaxQuantity

      public void setMaxQuantity(Integer maxQuantity)
    • getInventory

      public int getInventory()
    • setInventory

      public void setInventory(int inventory)
    • getSales

      public int getSales()
    • setSales

      public void setSales(int sales)