package com.lesingle.creation.vo.menu;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 菜单详情 VO
 */
@Data
@Schema(description = "菜单详情响应")
public class MenuDetailVO {

    @Schema(description = "菜单 ID")
    private Long id;

    @Schema(description = "菜单名称")
    private String name;

    @Schema(description = "路由路径")
    private String path;

    @Schema(description = "图标")
    private String icon;

    @Schema(description = "组件路径")
    private String component;

    @Schema(description = "父菜单 ID")
    private Long parentId;

    @Schema(description = "权限编码")
    private String permission;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "有效状态：1-有效，2-失效")
    private Integer validState;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新人")
    private String updateBy;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
