package com.yhy.module.core.controller.admin.quota.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import java.util.Map;
import javax.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 定额动态调整请求 VO")
@Data
public class QuotaDynamicAdjustReqVO {

    @Schema(description = "定额基价ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "定额基价ID不能为空")
    private Long quotaItemId;

    @Schema(description = "调整设置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "调整设置ID不能为空")
    private Long adjustmentSettingId;

    @Schema(description = "输入值映射（key=类别名称，value=输入值）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "输入值不能为空")
    private Map<String, BigDecimal> inputValues;

}
