package com.yhy.module.core.controller.admin.workbench.vo.progresspayment;

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

/**
 * 进度款-清单关联批量保存 Request VO
 */
@Schema(description = "工作台 - 进度款-清单关联批量保存 Request VO")
@Data
public class ProgressDivisionBatchSaveReqVO {

    @Schema(description = "进度款模式ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "进度款模式ID不能为空")
    private Long progressPaymentModeId;

    @Schema(description = "期数值映射（key=清单节点ID, value=期数值）", example = "{\"1\": 100.00, \"2\": 200.00}")
    private Map<Long, BigDecimal> periodValueMap;
}
