package com.njcn.system.pojo.dto;

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

import java.io.Serializable;
import java.util.List;

@Data
public class DicDTO implements Serializable {

    @ApiModelProperty("Id")
    private String id;

    @ApiModelProperty("父节点")
    private String pid;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("编码")
    private String code;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("描述")
    private String remark;

    @ApiModelProperty("子级")
    List<DicDTO> children;
}
