package com.aircraft.modules.article.domain.dto;

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

import java.util.List;

@Data
@ApiModel
public class CpLabelDTO {

    @ApiModelProperty("模块id")
    private Integer moduleId;

    @ApiModelProperty("标签")
    private String name;

    @ApiModelProperty("标签id")
    private Integer id;

    @ApiModelProperty(value = "标签备注")
    private String remark;

    @ApiModelProperty(value = "排序号")
    private Integer orderNum;

    @ApiModelProperty("父标签名称,可为null")
    private Integer parentId;

    @ApiModelProperty("子标签列表")
    private List<CpLabelDTO> children;
}
