package com.lesingle.creation.dto.menu;

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

/**
 * 更新菜单 DTO
 */
@Data
@Schema(description = "更新菜单请求")
public class UpdateMenuDTO {

    @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;
}
