package org.qinan.safetyeval.client.co;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 部门CO（Client Object）
 *
 * @author safety-eval
 */
@Data
public class OrgDepartmentCO {

    @ApiModelProperty(value = "主键ID")
    private String id;

    @ApiModelProperty(value = "父部门ID")
    private String parentId;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "负责人姓名")
    private String managerName;

    @ApiModelProperty(value = "负责人账号")
    private String managerAccount;

    @ApiModelProperty(value = "部门级别编码")
    private String deptLevelCode;

    @ApiModelProperty(value = "部门级别名称")
    private String deptLevelName;

    @ApiModelProperty(value = "租户ID")
    private String tenantId;

    @ApiModelProperty(value = "子部门")
    private List<OrgDepartmentCO> children;
}
