|
|
|
@ -1,8 +1,11 @@
|
|
|
|
package com.ruoyi.common.core.domain.entity;
|
|
|
|
package com.ruoyi.common.core.domain.entity;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.*;
|
|
|
|
import javax.validation.constraints.Email;
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
|
|
|
|
|
import javax.validation.constraints.Size;
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
@ -47,6 +50,9 @@ public class SysDept extends BaseEntity
|
|
|
|
/** 父部门名称 */
|
|
|
|
/** 父部门名称 */
|
|
|
|
private String parentName;
|
|
|
|
private String parentName;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** 排除编号 */
|
|
|
|
|
|
|
|
private Long excludeId;
|
|
|
|
|
|
|
|
|
|
|
|
public Long getDeptId()
|
|
|
|
public Long getDeptId()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return deptId;
|
|
|
|
return deptId;
|
|
|
|
@ -163,6 +169,17 @@ public class SysDept extends BaseEntity
|
|
|
|
this.parentName = parentName;
|
|
|
|
this.parentName = parentName;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@JsonIgnore
|
|
|
|
|
|
|
|
public Long getExcludeId()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return excludeId;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setExcludeId(Long excludeId)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
this.excludeId = excludeId;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public String toString() {
|
|
|
|
public String toString() {
|
|
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
|
|