package com.kcim.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("导航栏菜单对象")
public class NavVO {
    @JsonIgnore
    private Long menuId;
    private String path;

    private String name;

    @JsonIgnore
    private Integer orderNum;

//    @JsonIgnore
    private String icon;

    @JsonIgnore
    private Long parentId;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<NavVO> children;
}
