package com.qqchen.deploy.backend.system.model;

import com.qqchen.deploy.backend.framework.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
public class DepartmentDTO extends BaseDTO {

    private String code;

    private String name;

    private String description;

    private Boolean enabled;

    private Long leaderId;

    private String leaderName;

    private Long parentId;

    private Integer sort;

    private List<DepartmentDTO> children;
} 