@Embeddable
public class CmsUserCollectionId
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private long |
contentId
content id
内容id
|
private static long |
serialVersionUID |
private long |
userId
user id
用户id
|
构造器和说明 |
---|
CmsUserCollectionId() |
CmsUserCollectionId(long userId,
long contentId) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(java.lang.Object other) |
long |
getContentId() |
long |
getUserId() |
int |
hashCode() |
void |
setContentId(long contentId) |
void |
setUserId(long userId) |
private static final long serialVersionUID
private long userId
用户id
private long contentId
内容id
public CmsUserCollectionId()
public CmsUserCollectionId(long userId, long contentId)
public long getUserId()
public void setUserId(long userId)
public long getContentId()
public void setContentId(long contentId)
public boolean equals(java.lang.Object other)
equals
在类中 java.lang.Object
public int hashCode()
hashCode
在类中 java.lang.Object