package com.sckw.system.model.vo.req;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author czh
 * @desc 角色分配菜单入参
 * @date 2023/6/13
 */
@Data
public class RoleBindMenuReqVo implements Serializable {

    @Serial
    private static final long serialVersionUID = -9121728977645694470L;

    /**
     * 角色ID
     */
    @NotNull(message = "角色不能为空")
    private Long roleId;

    /**
     * 企业id
     */
    @NotNull(message = "企业不能为空")
    private Long entId;

    /**
     * 菜单ID,多个用","隔开
     */
    @NotBlank(message = "菜单不能为空")
    private String menuIds;

    /**
     * 备注
     */
    private String remark;

}
