|
@@ -2,8 +2,6 @@ package com.hssx.pcbms.entity;
|
|
|
|
|
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
-import lombok.Data;
|
|
|
-
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
/**
|
|
@@ -14,7 +12,6 @@ import java.io.Serializable;
|
|
|
* @author 吴涛涛
|
|
|
* @since 2019-11-06
|
|
|
*/
|
|
|
-@Data
|
|
|
public class Department extends Model<Department> {
|
|
|
|
|
|
private static final long serialVersionUID=1L;
|
|
@@ -23,7 +20,7 @@ public class Department extends Model<Department> {
|
|
|
* 部门guid
|
|
|
*/
|
|
|
@TableField("department_guid")
|
|
|
- private String id;
|
|
|
+ private String departmentGuid;
|
|
|
|
|
|
/**
|
|
|
* 父部门guid
|
|
@@ -92,6 +89,13 @@ public class Department extends Model<Department> {
|
|
|
private String departmentKeycode;
|
|
|
|
|
|
|
|
|
+ public String getDepartmentGuid() {
|
|
|
+ return departmentGuid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDepartmentGuid(String departmentGuid) {
|
|
|
+ this.departmentGuid = departmentGuid;
|
|
|
+ }
|
|
|
|
|
|
public String getSuperiorGuid() {
|
|
|
return superiorGuid;
|
|
@@ -189,6 +193,7 @@ public class Department extends Model<Department> {
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
return "Department{" +
|
|
|
+ "departmentGuid=" + departmentGuid +
|
|
|
", superiorGuid=" + superiorGuid +
|
|
|
", departmentName=" + departmentName +
|
|
|
", departmentFullname=" + departmentFullname +
|