类 CmsSurvey
java.lang.Object
com.publiccms.entities.cms.CmsSurvey
- 所有已实现的接口:
Serializable
CmsSurvey generated by hbm2java
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明private boolean
allow anonymous 允许匿名private Date
create date 创建日期private @Length(max=300) String
descriptionprivate boolean
private Date
end date 结束日期private Long
idprivate static final long
private short
private Date
start date 开始日期private String
survey type(survey,exam) 问卷类型(survey:问卷,exam:考试)private @NotBlank @Length(max=100) String
title 标题private long
user id 发布用户idprivate int
votes 投票次数 -
构造器概要
构造器构造器说明CmsSurvey
(short siteId, long userId, String surveyType, String title, int votes, Date startDate, Date endDate, boolean allowAnonymous, Date createDate, boolean disabled) CmsSurvey
(short siteId, long userId, String surveyType, String title, String description, int votes, Date startDate, Date endDate, boolean allowAnonymous, Date createDate, boolean disabled) -
方法概要
修饰符和类型方法说明getId()
short
getTitle()
long
int
getVotes()
boolean
boolean
void
setAllowAnonymous
(boolean allowAnonymous) void
setCreateDate
(Date createDate) void
setDescription
(String description) void
setDisabled
(boolean disabled) void
setEndDate
(Date endDate) void
void
setSiteId
(short siteId) void
setStartDate
(Date startDate) void
setSurveyType
(String surveyType) void
void
setUserId
(long userId) void
setVotes
(int votes)
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID- 另请参阅:
-
id
id -
siteId
private short siteId -
userId
private long userIduser id 发布用户id -
surveyType
survey type(survey,exam) 问卷类型(survey:问卷,exam:考试) -
title
title 标题 -
description
description
描述
説明
-
votes
private int votesvotes 投票次数 -
startDate
start date 开始日期 -
endDate
end date 结束日期 -
allowAnonymous
private boolean allowAnonymousallow anonymous 允许匿名 -
createDate
create date 创建日期 -
disabled
private boolean disabled
-
-
构造器详细资料
-
CmsSurvey
public CmsSurvey() -
CmsSurvey
-
CmsSurvey
-
-
方法详细资料
-
getId
-
setId
-
getSiteId
public short getSiteId() -
setSiteId
public void setSiteId(short siteId) -
getUserId
public long getUserId() -
setUserId
public void setUserId(long userId) -
getSurveyType
-
setSurveyType
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getVotes
public int getVotes() -
setVotes
public void setVotes(int votes) -
getStartDate
-
setStartDate
-
getEndDate
-
setEndDate
-
isAllowAnonymous
public boolean isAllowAnonymous() -
setAllowAnonymous
public void setAllowAnonymous(boolean allowAnonymous) -
getCreateDate
-
setCreateDate
-
isDisabled
public boolean isDisabled() -
setDisabled
public void setDisabled(boolean disabled)
-