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

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

import java.util.List;
import java.util.Map;

@Schema(description = "MCP 草稿详情与状态")
public class McpDraftInfoResponse {

    @JsonProperty("draft_id")
    @Schema(description = "草稿 ID")
    private Long draftId;

    @Schema(description = "草稿状态：incomplete / ready / submitted", example = "incomplete")
    private String status;

    @Schema(description = "草稿数据（snake_case 键名）")
    private Map<String, Object> data;

    @Schema(description = "是否可编辑")
    private Boolean editable;

    @Schema(description = "待补充字段")
    private List<String> missingFields;

    public Long getDraftId() {
        return draftId;
    }

    public void setDraftId(Long draftId) {
        this.draftId = draftId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Map<String, Object> getData() {
        return data;
    }

    public void setData(Map<String, Object> data) {
        this.data = data;
    }

    public Boolean getEditable() {
        return editable;
    }

    public void setEditable(Boolean editable) {
        this.editable = editable;
    }

    public List<String> getMissingFields() {
        return missingFields;
    }

    public void setMissingFields(List<String> missingFields) {
        this.missingFields = missingFields;
    }
}
