mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-25 21:45:08 +08:00
46 lines
757 B
Java
46 lines
757 B
Java
package com.jsowell.system.domain;
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
/**
|
|
* 角色和菜单关联 sys_role_menu
|
|
*
|
|
* @author jsowell
|
|
*/
|
|
public class SysRoleMenu {
|
|
/**
|
|
* 角色ID
|
|
*/
|
|
private Long roleId;
|
|
|
|
/**
|
|
* 菜单ID
|
|
*/
|
|
private Long menuId;
|
|
|
|
public Long getRoleId() {
|
|
return roleId;
|
|
}
|
|
|
|
public void setRoleId(Long roleId) {
|
|
this.roleId = roleId;
|
|
}
|
|
|
|
public Long getMenuId() {
|
|
return menuId;
|
|
}
|
|
|
|
public void setMenuId(Long menuId) {
|
|
this.menuId = menuId;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
|
.append("roleId", getRoleId())
|
|
.append("menuId", getMenuId())
|
|
.toString();
|
|
}
|
|
}
|