类 CmsVote

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

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

    • serialVersionUID

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

      private Long id
      id
    • siteId

      private short siteId
    • startDate

      @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date startDate
      start date 开始日期
    • endDate

      @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date endDate
      end date 结束日期
    • votes

      private int votes
      votes 投票次数
    • title

      @NotBlank @Length(max=100) private @NotBlank @Length(max=100) String title
      title 标题
    • description

      @Length(max=300) private @Length(max=300) String description
      description 描述
    • allowAnonymous

      private boolean allowAnonymous
      allow anonymous 允许匿名
    • createDate

      private Date createDate
      create date 创建日期
    • disabled

      private boolean disabled
  • 构造器详细资料

    • CmsVote

      public CmsVote()
    • CmsVote

      public CmsVote(short siteId, Date startDate, Date endDate, int votes, String title, boolean allowAnonymous, Date createDate, boolean disabled)
    • CmsVote

      public CmsVote(short siteId, Date startDate, Date endDate, int votes, String title, String description, boolean allowAnonymous, Date createDate, boolean disabled)
  • 方法详细资料

    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getSiteId

      public short getSiteId()
    • setSiteId

      public void setSiteId(short siteId)
    • getStartDate

      public Date getStartDate()
    • setStartDate

      public void setStartDate(Date startDate)
    • getEndDate

      public Date getEndDate()
    • setEndDate

      public void setEndDate(Date endDate)
    • getVotes

      public int getVotes()
    • setVotes

      public void setVotes(int votes)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • isAllowAnonymous

      public boolean isAllowAnonymous()
    • setAllowAnonymous

      public void setAllowAnonymous(boolean allowAnonymous)
    • getCreateDate

      public Date getCreateDate()
    • setCreateDate

      public void setCreateDate(Date createDate)
    • isDisabled

      public boolean isDisabled()
    • setDisabled

      public void setDisabled(boolean disabled)