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

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

@Schema(description = "草稿字段 Schema 定义")
public class McpDraftSchemaField {

    private String key;
    private String label;
    private String type;
    private Boolean required;
    private Boolean editable;
    /** enum 可选值（如 worker_source / settlement_cycle） */
    private Object options;
    /** array 类型元素结构（如 worker_groups） */
    @JsonProperty("item_schema")
    private Object itemSchema;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Boolean getRequired() {
        return required;
    }

    public void setRequired(Boolean required) {
        this.required = required;
    }

    public Boolean getEditable() {
        return editable;
    }

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

    public Object getOptions() {
        return options;
    }

    public void setOptions(Object options) {
        this.options = options;
    }

    public Object getItemSchema() {
        return itemSchema;
    }

    public void setItemSchema(Object itemSchema) {
        this.itemSchema = itemSchema;
    }
}
