You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
882 B
46 lines
882 B
package com.ruoyi.system.domain;
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
/**
|
|
* 用户和角色关联 sys_user_role
|
|
*
|
|
* @author ruoyi
|
|
*/
|
|
public class SysUserRole {
|
|
/**
|
|
* 用户ID
|
|
*/
|
|
private Long userId;
|
|
|
|
/**
|
|
* 角色ID
|
|
*/
|
|
private Long roleId;
|
|
|
|
public Long getUserId() {
|
|
return userId;
|
|
}
|
|
|
|
public void setUserId(Long userId) {
|
|
this.userId = userId;
|
|
}
|
|
|
|
public Long getRoleId() {
|
|
return roleId;
|
|
}
|
|
|
|
public void setRoleId(Long roleId) {
|
|
this.roleId = roleId;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("userId", getUserId())
|
|
.append("roleId", getRoleId())
|
|
.toString();
|
|
}
|
|
}
|