package com.njcn.user.pojo.vo;

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

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

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2022/1/17 17:02
 */
@Data
public class FunctionVO implements Serializable {

    @ApiModelProperty("资源Id")
    private String id;

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

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

    @ApiModelProperty("资源标识")
    private String code;

    @ApiModelProperty("路由名称")
    private String routeName;

    @ApiModelProperty("路径")
    private String routePath;

    @ApiModelProperty("图标")
    private String icon;

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

    @ApiModelProperty("资源类型")
    private Integer type;

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

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

    @ApiModelProperty("tab数据")
    List<FunctionVO> userTab;

}
