@Embeddable
public class CmsUserVoteId
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private static long |
serialVersionUID |
private long |
userId
user id
用户id
|
private long |
voteId
vote id
投票id
|
构造器和说明 |
---|
CmsUserVoteId() |
CmsUserVoteId(long userId,
long voteId) |
private static final long serialVersionUID
private long userId
用户id
private long voteId
投票id
public CmsUserVoteId()
public CmsUserVoteId(long userId, long voteId)
public long getUserId()
public void setUserId(long userId)
public long getVoteId()
public void setVoteId(long voteId)
public boolean equals(java.lang.Object other)
equals
在类中 java.lang.Object
public int hashCode()
hashCode
在类中 java.lang.Object