类 CmsSurvey

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

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

    • serialVersionUID

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

      private Long id
      id
    • siteId

      private short siteId
    • userId

      private long userId
      user id 发布用户id
    • surveyType

      private String surveyType
      survey type(survey,exam) 问卷类型(survey:问卷,exam:考试)
    • title

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

      @Length(max=300) private @Length(max=300) String description

      description

      描述

      説明

    • votes

      private int votes
      votes 投票次数
    • 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 结束日期
    • allowAnonymous

      private boolean allowAnonymous
      allow anonymous 允许匿名
    • createDate

      private Date createDate
      create date 创建日期
    • disabled

      private boolean disabled
  • 构造器详细资料

    • CmsSurvey

      public CmsSurvey()
    • CmsSurvey

      public CmsSurvey(short siteId, long userId, String surveyType, String title, int votes, Date startDate, Date endDate, boolean allowAnonymous, Date createDate, boolean disabled)
    • CmsSurvey

      public CmsSurvey(short siteId, long userId, String surveyType, String title, String description, int votes, Date startDate, Date endDate, 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)
    • getUserId

      public long getUserId()
    • setUserId

      public void setUserId(long userId)
    • getSurveyType

      public String getSurveyType()
    • setSurveyType

      public void setSurveyType(String surveyType)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getVotes

      public int getVotes()
    • setVotes

      public void setVotes(int votes)
    • getStartDate

      public Date getStartDate()
    • setStartDate

      public void setStartDate(Date startDate)
    • getEndDate

      public Date getEndDate()
    • setEndDate

      public void setEndDate(Date endDate)
    • 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)