提交 | 用户 | 时间
|
fd2207
|
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_dept |
|
8 |
* |
|
9 |
* @author jc |
|
10 |
*/ |
|
11 |
public class SysRoleDept |
|
12 |
{ |
|
13 |
/** 角色ID */ |
|
14 |
private Long roleId; |
|
15 |
|
|
16 |
/** 部门ID */ |
|
17 |
private Long deptId; |
|
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 getDeptId() |
|
30 |
{ |
|
31 |
return deptId; |
|
32 |
} |
|
33 |
|
|
34 |
public void setDeptId(Long deptId) |
|
35 |
{ |
|
36 |
this.deptId = deptId; |
|
37 |
} |
|
38 |
|
|
39 |
@Override |
|
40 |
public String toString() { |
|
41 |
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|
42 |
.append("roleId", getRoleId()) |
|
43 |
.append("deptId", getDeptId()) |
|
44 |
.toString(); |
|
45 |
} |
|
46 |
} |