package com.zcloud.basic.info.dto.clientobject;

import com.alibaba.cola.dto.ClientObject;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;


/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2025-10-30 10:10:48
 */
@Data
public class DepartmentTreeInfoCO extends ClientObject {
    //主键
    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "所属企业")
    private Long corpinfoId;
    //部门id
    @ApiModelProperty(value = "部门id")
    private String departmentId;
    //名称
    @ApiModelProperty(value = "名称")
    private String name;
    //名称
    @ApiModelProperty(value = "部门全称")
    private String fullName;
    //名称
    @ApiModelProperty(value = "id全拼接")
    private String fullId;
    //父部门id
    @ApiModelProperty(value = "父部门id")
    private Long parentId;

    @ApiModelProperty(value = "所属企业名称")
    private String corpinfoName;

    private List<DepartmentTreeInfoCO> childrenList;

}

