package com.engine.organization.entity.department.vo;

import com.cloudstore.eccom.pc.table.WeaTableType;
import com.engine.organization.annotation.OrganizationTable;
import com.engine.organization.annotation.TableTitle;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author weaver_cl
 * @description:
 * @Date 2022/5/20
 * @Version V1.0
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@OrganizationTable(pageId = "01b397a9-638b-4d58-89c7-4a1d17f98656",
        tableType = WeaTableType.NONE)
public class SingleDeptTreeVO {

    private Integer id;

    //@TableTitle(labelId = 547118, title = "编号", dataIndex = "departmentCode", key = "departmentCode")
    //private String departmentCode;

    @TableTitle(labelId = 547598, title = "部门名称", dataIndex = "departmentMark", key = "departmentMark")
    private String departmentMark;

    @TableTitle(labelId = 547599, title = "部门简称", dataIndex = "departmentName", key = "departmentName")
    private String departmentName;


    @TableTitle(labelId = 547128, title = "所属分部", dataIndex = "subCompanyName", key = "subCompanyName")
    private String subCompanyName;
    private Integer subCompanyId1; //上级分部

    private Integer supDepId; //上级部门id

    @TableTitle(labelId = 547189, title = "上级部门", dataIndex = "supDepName", key = "supDepName")
    private String supDepName; //上级部门

    //@TableTitle(title = "部门负责人", dataIndex = "deptPrincipalName", key = "deptPrincipalName")
    //private String deptPrincipalName; //部门负责人

    //子节点
    private List<SingleDeptTreeVO> children;



}
