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

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

/**
 * 基数费率项 DO
 * 字段：名称、费率、备注
 *
 * @author yhy
 */
@Data
@Schema(description = "更新清单基数费率请求 VO")
public class UpdateBoqDivisionBaseRateReqVO {

    @Schema(description = "分部分项节点ID（清单节点）", requiredMode = Schema.RequiredMode.REQUIRED, example = "123")
    @NotNull(message = "分部分项节点ID不能为空")
    private Long divisionId;

    @Schema(description = "基数费率项ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "456")
    @NotNull(message = "基数费率项ID不能为空")
    private Long calcBaseRateItemId;
}
