提交 | 用户 | 时间
|
e57a89
|
1 |
package com.jcdm.system.domain; |
懒 |
2 |
|
|
3 |
import org.apache.commons.lang3.builder.ToStringBuilder; |
|
4 |
import org.apache.commons.lang3.builder.ToStringStyle; |
|
5 |
|
|
6 |
/** |
|
7 |
* 角色和菜单关联 sys_role_menu |
|
8 |
* |
|
9 |
* @author jc |
|
10 |
*/ |
|
11 |
public class SysRoleMenu |
|
12 |
{ |
|
13 |
/** 角色ID */ |
|
14 |
private Long roleId; |
|
15 |
|
|
16 |
/** 菜单ID */ |
|
17 |
private Long menuId; |
|
18 |
|
|
19 |
public Long getRoleId() |
|
20 |
{ |
|
21 |
return roleId; |
|
22 |
} |
|
23 |
|
|
24 |
public void setRoleId(Long roleId) |
|
25 |
{ |
|
26 |
this.roleId = roleId; |
|
27 |
} |
|
28 |
|
|
29 |
public Long getMenuId() |
|
30 |
{ |
|
31 |
return menuId; |
|
32 |
} |
|
33 |
|
|
34 |
public void setMenuId(Long menuId) |
|
35 |
{ |
|
36 |
this.menuId = menuId; |
|
37 |
} |
|
38 |
|
|
39 |
@Override |
|
40 |
public String toString() { |
|
41 |
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|
42 |
.append("roleId", getRoleId()) |
|
43 |
.append("menuId", getMenuId()) |
|
44 |
.toString(); |
|
45 |
} |
|
46 |
} |