@Entity
public class CmsUserVote
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private boolean |
anonymous
anonymous
匿名用户
|
private java.util.Date |
createDate
create date
创建日期
|
private CmsUserVoteId |
id
id
|
private java.lang.String |
ip
ip
|
private long |
itemId
item id
选项id
|
private static long |
serialVersionUID |
构造器和说明 |
---|
CmsUserVote() |
CmsUserVote(CmsUserVoteId id,
boolean anonymous,
long itemId,
java.lang.String ip,
java.util.Date createDate) |
限定符和类型 | 方法和说明 |
---|---|
java.util.Date |
getCreateDate() |
CmsUserVoteId |
getId() |
java.lang.String |
getIp() |
long |
getItemId() |
boolean |
isAnonymous() |
void |
setAnonymous(boolean anonymous) |
void |
setCreateDate(java.util.Date createDate) |
void |
setId(CmsUserVoteId id) |
void |
setIp(java.lang.String ip) |
void |
setItemId(long itemId) |
private static final long serialVersionUID
private CmsUserVoteId id
private boolean anonymous
匿名用户
private long itemId
选项id
private java.lang.String ip
private java.util.Date createDate
创建日期
public CmsUserVote()
public CmsUserVote(CmsUserVoteId id, boolean anonymous, long itemId, java.lang.String ip, java.util.Date createDate)
public CmsUserVoteId getId()
public void setId(CmsUserVoteId id)
public boolean isAnonymous()
public void setAnonymous(boolean anonymous)
public long getItemId()
public void setItemId(long itemId)
public java.lang.String getIp()
public void setIp(java.lang.String ip)
public java.util.Date getCreateDate()
public void setCreateDate(java.util.Date createDate)