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

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

/**
 * 工料机汇总 Response VO
 *
 * @author yhy
 */
@Schema(description = "工作台 - 工料机汇总 Response VO")
@Data
public class WbResourceSummaryRespVO {

    @Schema(description = "汇总记录ID（可能为空，表示尚未创建用户标记）", example = "1")
    private Long id;

    @Schema(description = "资源唯一键", requiredMode = Schema.RequiredMode.REQUIRED, example = "abc123")
    private String resourceKey;

    @Schema(description = "是否打印", example = "false")
    private Boolean isPrint;

    @Schema(description = "编码", example = "C001")
    private String code;

    @Schema(description = "名称", example = "水泥")
    private String name;

    @Schema(description = "型号规格", example = "P.O 42.5")
    private String spec;

    @Schema(description = "单位", example = "t")
    private String unit;

    @Schema(description = "资源类型", example = "material")
    private String resourceType;

    @Schema(description = "税率", example = "0.13")
    private BigDecimal taxRate;

    @Schema(description = "总数量（汇总）", example = "100.5")
    private BigDecimal totalQty;

    @Schema(description = "除税基价", example = "400.00")
    private BigDecimal taxExclBasePrice;

    @Schema(description = "含税基价", example = "452.00")
    private BigDecimal taxInclBasePrice;

    @Schema(description = "除税编制价", example = "450.00")
    private BigDecimal taxExclCompilePrice;

    @Schema(description = "含税编制价", example = "508.50")
    private BigDecimal taxInclCompilePrice;

    @Schema(description = "除税合价", example = "45225.00")
    private BigDecimal taxExclTotalPrice;

    @Schema(description = "含税合价", example = "51104.25")
    private BigDecimal taxInclTotalPrice;

    @Schema(description = "是否评标指定材料", example = "false")
    private Boolean isBidMaterial;

    @Schema(description = "价格来源", example = "信息价")
    private String priceSource;

    @Schema(description = "备注", example = "")
    private String remark;
}
