package com.spring.domain.user.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import com.spring.common.validation.EnumValid;
import com.spring.domain.user.entity.AgentUserRole;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor
public class ChangeUserRoleApproveRequest {

    @NotBlank(message = "ID는 필수값 입니다.")
    private final String id;

    @EnumValid(target = AgentUserRole.class, message = "권한은 필수값 입니다.")
    private final AgentUserRole userRole;

    @NotNull(message = "승인 여부는 필수값 입니다.")
    private final boolean approved;

}
