package com.template.model.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.List;

/**
 * @Author: xwt
 * @Date: 2023/4/4 星期二 14:54
 * @Description: com.video.model.vo
 * @Version: 1.0
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="树形菜单", description="")
public class SystemMenuTreeVo {
    @ApiModelProperty(value = "菜单ID")
    private Long id;
    @ApiModelProperty(value = "上级菜单ID")
    private Long parentId;
    @ApiModelProperty(value = "菜单名称")
    private String menuName;
    @ApiModelProperty(value = "子级菜单")
    private List<SystemMenuTreeVo> children;
}
