package com.lingyue.extract.dto.config;

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

/**
 * 固定内容来源配置
 * 
 * 用于 sourceType = "fixed" 的规则
 * 直接使用固定的内容值
 * 
 * @author lingyue
 * @since 2026-01-22
 */
@Data
@Schema(description = "固定内容来源配置")
public class FixedSourceConfig {
    
    @Schema(description = "固定内容")
    private String fixedContent;
    
    @Schema(description = "内容类型: text-文本, html-HTML, markdown-Markdown")
    private String contentType;
    
    // ==================== 内容类型常量 ====================
    
    public static final String CONTENT_TYPE_TEXT = "text";
    public static final String CONTENT_TYPE_HTML = "html";
    public static final String CONTENT_TYPE_MARKDOWN = "markdown";
}
