package com.ho.user.api.entity;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@ToString
@EqualsAndHashCode
public class SysDept implements Serializable {

    private Integer id;

    private Integer groupId;

    private String deptNo;

    private String name;

    private Integer pid;

    private Integer deptId;

    private String pidName;

    private Integer status;

    private Integer orderNum;

    private String relationCode;

    private String deptManagerId;

    private String managerName;

    private String phone;

    private String email;

    private Date createTime;

    private Date updateTime;

    private Integer deleted;

    //层级(用于查询)
    private Integer hierarchy;

}