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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Map;

@Schema(description = "管理后台 - 计算动态合并结果 Request VO")
@Data
public class QuotaAdjustmentMergeCalculateReqVO {

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

    @Schema(description = "输入值映射（工料机ID: 输入值）", requiredMode = Schema.RequiredMode.REQUIRED, 
            example = "{\"100\": 250, \"101\": 150}")
    @NotEmpty(message = "输入值映射不能为空")
    private Map<String, BigDecimal> inputValues;
}
