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

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

/**
 * 工作台 - 单位工程费率配置保存 Request VO
 *
 * @author yhy
 */
@Schema(description = "工作台 - 单位工程费率配置保存 Request VO")
@Data
public class WbUnitRateConfigSaveReqVO {

    @Schema(description = "编制树节点ID（单位工程节点）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "编制树节点ID不能为空")
    private Long compileTreeId;

    @Schema(description = "定额专业ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    @NotNull(message = "定额专业ID不能为空")
    private Long quotaCatalogItemId;

    @Schema(description = "费率模式ID", example = "200")
    private Long rateModeId;

    @Schema(description = "费率覆写值")
    private Map<String, Object> rateSettings;

    @Schema(description = "取费覆写值")
    private Map<String, Object> feeSettings;
}
