package com.huimv.employment.service.draft.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 会话下草稿信息 + 成本测算（测算实体同单草稿 cost-comparison）。
 */
@Schema(description = "草稿信息（含成本测算）")
public class DraftWithCostComparisonResponse extends DraftDetailResponse {

    @JsonProperty("cost_comparison")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    @Schema(description = "成本测算结果，结构同 GET /api/v1/mp/drafts/{id}/cost-comparison；无法测算时为 null")
    private McpDraftCalculateResponse costComparison;

    public McpDraftCalculateResponse getCostComparison() {
        return costComparison;
    }

    public void setCostComparison(McpDraftCalculateResponse costComparison) {
        this.costComparison = costComparison;
    }
}
