补充属性

This commit is contained in:
sxu 2024-08-19 08:46:41 +08:00
parent 7764b09927
commit a5b647990f
2 changed files with 35 additions and 1 deletions

View File

@ -67,11 +67,32 @@ public class SysDept extends BaseEntity
/** 子部门 */
@ApiModelProperty(value = "子部门")
private List<SysDept> children = new ArrayList<SysDept>();
private List<SysDept> children = new ArrayList<>();
/** 备注信息 */
private String remark;
/** 所属组织id */
private Long companyId;
@Override
public String getRemark() {
return remark;
}
@Override
public void setRemark(String remark) {
this.remark = remark;
}
public Long getCompanyId() {
return companyId;
}
public void setCompanyId(Long companyId) {
this.companyId = companyId;
}
public Long getDeptId()
{
return deptId;
@ -215,6 +236,7 @@ public class SysDept extends BaseEntity
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("companyId", getCompanyId())
.append("remark", getRemark())
.toString();
}

View File

@ -78,6 +78,17 @@ public class SysRole extends BaseEntity
/** 数据所属组织 */
private String deptName;
/** 所属组织id */
private Long companyId;
public Long getCompanyId() {
return companyId;
}
public void setCompanyId(Long companyId) {
this.companyId = companyId;
}
public SysRole()
{
@ -259,6 +270,7 @@ public class SysRole extends BaseEntity
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.append("deptName", getDeptName())
.append("companyId", getCompanyId())
.toString();
}
}