namespace HoneyBox.Model.Models.Config;

/// <summary>
/// 单页内容响应DTO
/// </summary>
public class DanyeDto
{
    /// <summary>
    /// 内容（富文本，已处理图片URL）
    /// </summary>
    public string Content { get; set; } = string.Empty;

    /// <summary>
    /// 标题
    /// </summary>
    public string Title { get; set; } = string.Empty;

    /// <summary>
    /// 是否启用图片优化
    /// </summary>
    public int IsImageOptimizer { get; set; }
}

/// <summary>
/// 单页内容响应DTO（用于POST /danye接口）
/// </summary>
public class DanyeContentDto
{
    /// <summary>
    /// 内容（富文本，已处理图片URL）
    /// </summary>
    public string Content { get; set; } = string.Empty;

    /// <summary>
    /// 是否启用图片优化
    /// </summary>
    public int IsImageOptimizer { get; set; }
}

/// <summary>
/// 单页内容请求DTO
/// </summary>
public class DanyeRequest
{
    /// <summary>
    /// 单页类型ID
    /// </summary>
    public int Type { get; set; }
}
