类 TradeCoupon

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

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

    • serialVersionUID

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

      private Long id
      id
    • siteId

      private short siteId
    • name

      @NotNull @Length(max=100) private @NotNull @Length(max=100) String name
      name

      名称

    • categoryId

      private Integer categoryId
      category

      分类

    • contentId

      private Long contentId
      content

      内容

    • startDate

      private String startDate

      start date

      开始日期

    • expiryDate

      private String expiryDate

      expiry date

      过期日期

    • startingAmount

      private BigDecimal startingAmount

      starting amount

      起始金额

    • discount

      private BigDecimal discount

      discount

      折扣

    • price

      private BigDecimal price

      price

      价格

    • couponType

      private int couponType
      coupon_type

      coupon_type

    • redeemCode

      private String redeemCode
      redeem code

      兑换码

    • duration

      private int duration
    • quantity

      private int quantity
    • createDate

      private String createDate
    • disabled

      private boolean disabled
  • 构造器详细资料

    • TradeCoupon

      public TradeCoupon()
    • TradeCoupon

      public TradeCoupon(short siteId, String name, String startDate, int couponType, int duration, int quantity, boolean disabled)
    • 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

      public Long getId()
    • setId

      public void setId(Long id)
    • getSiteId

      public short getSiteId()
    • setSiteId

      public void setSiteId(short siteId)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getCategoryId

      public Integer getCategoryId()
    • setCategoryId

      public void setCategoryId(Integer categoryId)
    • getContentId

      public Long getContentId()
    • setContentId

      public void setContentId(Long contentId)
    • getStartDate

      public String getStartDate()
    • setStartDate

      public void setStartDate(String startDate)
    • getExpiryDate

      public String getExpiryDate()
    • setExpiryDate

      public void setExpiryDate(String expiryDate)
    • getStartingAmount

      public BigDecimal getStartingAmount()
    • setStartingAmount

      public void setStartingAmount(BigDecimal startingAmount)
    • getDiscount

      public BigDecimal getDiscount()
    • setDiscount

      public void setDiscount(BigDecimal discount)
    • getPrice

      public BigDecimal getPrice()
    • setPrice

      public void setPrice(BigDecimal price)
    • getCouponType

      public int getCouponType()
    • setCouponType

      public void setCouponType(int couponType)
    • getRedeemCode

      public String getRedeemCode()
    • setRedeemCode

      public void setRedeemCode(String redeemCode)
    • getDuration

      public int getDuration()
    • setDuration

      public void setDuration(int duration)
    • getQuantity

      public int getQuantity()
    • setQuantity

      public void setQuantity(int quantity)
    • getCreateDate

      public String getCreateDate()
    • setCreateDate

      public void setCreateDate(String createDate)
    • isDisabled

      public boolean isDisabled()
    • setDisabled

      public void setDisabled(boolean disabled)