@Embeddable
public class SysRoleUserId
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private int |
roleId
role id
角色id
|
private static long |
serialVersionUID |
private long |
userId
user id
用户id
|
构造器和说明 |
---|
SysRoleUserId() |
SysRoleUserId(int roleId,
long userId) |
private static final long serialVersionUID
private int roleId
角色id
private long userId
用户id
public SysRoleUserId()
public SysRoleUserId(int roleId, long userId)
public int getRoleId()
public void setRoleId(int roleId)
public long getUserId()
public void setUserId(long userId)
public boolean equals(java.lang.Object other)
equals
在类中 java.lang.Object
public int hashCode()
hashCode
在类中 java.lang.Object