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

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 草稿字段明细（含来源与可编辑性，供前端展示「默认生成」角标）。
 */
@Schema(description = "草稿字段明细")
public class DraftFieldResponse {

    @Schema(description = "字段键名", example = "work_location")
    private String fieldKey;

    @Schema(description = "字段中文标签", example = "工作地点")
    private String fieldLabel;

    @Schema(description = "文本值")
    private String fieldValue;

    @Schema(description = "复杂类型 JSON 值")
    private String valueJson;

    @Schema(description = "来源：enterprise_profile / user_input / ai_inferred 等")
    private String source;

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

    @Schema(description = "是否 AI/系统默认值（未修改）")
    private Boolean isDefault;

    public String getFieldKey() {
        return fieldKey;
    }

    public void setFieldKey(String fieldKey) {
        this.fieldKey = fieldKey;
    }

    public String getFieldLabel() {
        return fieldLabel;
    }

    public void setFieldLabel(String fieldLabel) {
        this.fieldLabel = fieldLabel;
    }

    public String getFieldValue() {
        return fieldValue;
    }

    public void setFieldValue(String fieldValue) {
        this.fieldValue = fieldValue;
    }

    public String getValueJson() {
        return valueJson;
    }

    public void setValueJson(String valueJson) {
        this.valueJson = valueJson;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Boolean getEditable() {
        return editable;
    }

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

    public Boolean getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Boolean isDefault) {
        this.isDefault = isDefault;
    }
}
