package com.ema.admin.modules.system.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * 角色菜单权限分配 VO。
 *
 * @author LIJIAN
 * @since 2026-03-24
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("角色菜单权限分配")
public class RoleMenuAssignVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
    @ApiModelProperty(value = "角色ID", required = true)
    @NotBlank(message = "角色ID不能为空")
    private String roleId;

    /**
     * 菜单ID列表
     */
    @ApiModelProperty(value = "菜单ID列表", required = true)
    @NotEmpty(message = "菜单ID列表不能为空")
    private List<String> menuIds;

}
