package com.yeejoin.equipmanage.common.entity.dto;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value="OrgUsrDto", description="树菜单")
public class OrgUsrDto {

    private String id;
    private String name;
    private String parentId;
    private List<OrgUsrDto> children;
    private String bizOrgCode;
    private String code;
    public Boolean canClick;

    public OrgUsrDto(String id, String name, String parentId, String bizOrgCode, String code, Boolean canClick) {
        super();
        this.id = id;
        this.name = name;
        this.parentId = parentId;
        this.bizOrgCode = bizOrgCode;
        this.code = code;
        this.canClick = canClick;
    }

    public OrgUsrDto() {
    }
}