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

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

/**
 * 审定分部分项更新 Request VO
 */
@Schema(description = "工作台 - 审定分部分项更新 Request VO")
@Data
public class AuditApproveDivisionUpdateReqVO {

    @Schema(description = "审定分部分项ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "审定分部分项ID不能为空")
    private Long id;

    @Schema(description = "编码（可覆盖原编制模式数据）", example = "010101001001")
    private String code;

    @Schema(description = "名称（可覆盖原编制模式数据）", example = "挖土方")
    private String name;

    @Schema(description = "单位（可覆盖原编制模式数据）", example = "m³")
    private String unit;

    @Schema(description = "项目特征（可覆盖原编制模式数据）", example = "土壤类别：一类土")
    private String feature;

    @Schema(description = "审定工程量", example = "100.00")
    private BigDecimal approveQty;

    @Schema(description = "审定单价", example = "25.50")
    private BigDecimal approveUnitPrice;

    @Schema(description = "审定费率", example = "3.5")
    private BigDecimal approveRate;

    @Schema(description = "审定合价", example = "2550.00")
    private BigDecimal approveTotalPrice;
}
