package com.erp.permission.dto;

import jakarta.validation.constraints.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 分配角色权限请求
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AssignPermissionsRequest {
    
    /**
     * 权限标识列表
     */
    @NotEmpty(message = "权限列表不能为空")
    private List<@NotBlank(message = "权限标识不能为空") String> permissions;
}
