package com.ga.core.vo.commission;

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

import java.math.BigDecimal;

/**
 * agent_grade_evaluation 저장 요청.
 * evaluatedGradeId/status 는 Service(등급산정 로직)가 결정.
 */
@Data
public class AgentGradeEvaluationSaveReq {

    @NotNull
    private Long agentId;

    @NotBlank
    private String evalPeriod;

    @NotNull
    @Positive
    private BigDecimal performanceScore;

    /** 기존 등급 — 선택값 */
    private Long prevGradeId;
}
