namespace HoneyBox.Model.Entities;

/// <summary>
/// 单页内容表
/// </summary>
public class Danye
{
    /// <summary>
    /// 主键ID
    /// </summary>
    public int Id { get; set; }

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

    /// <summary>
    /// 内容（富文本）
    /// </summary>
    public string Content { get; set; } = string.Empty;

    /// <summary>
    /// 更新时间（Unix时间戳）
    /// </summary>
    public int UpdateTime { get; set; }

    /// <summary>
    /// 状态：0-禁用 1-启用
    /// </summary>
    public byte Status { get; set; }

    /// <summary>
    /// 是否启用图片优化：0-否 1-是
    /// </summary>
    public byte IsImageOptimizer { get; set; }
}
