package com.lesingle.creation.dto.permission;

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

import jakarta.validation.constraints.NotBlank;
import java.util.List;

/**
 * 更新权限 DTO
 */
@Data
@Schema(description = "更新权限请求")
public class UpdatePermissionDTO {

    @Schema(description = "权限名称")
    private String name;

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

    @Schema(description = "资源名称")
    private String resource;

    @Schema(description = "操作类型")
    private String action;

    @Schema(description = "权限描述")
    private String description;
}
