using System;

namespace Kavita.Models.DTOs.Stats;
#nullable enable

/// <summary>
/// This is just for the Server tab on UI
/// </summary>
public sealed record ServerInfoSlimDto
{
    /// <summary>
    /// Unique Id that represents a unique install
    /// </summary>
    public required string InstallId { get; set; }
    /// <summary>
    /// If the Kavita install is using Docker
    /// </summary>
    public bool IsDocker { get; set; }
    /// <summary>
    /// Version of Kavita
    /// </summary>
    public required string KavitaVersion { get; set; }
    /// <summary>
    /// The Date Kavita was first installed
    /// </summary>
    public DateTime? FirstInstallDate { get; set; }
    /// <summary>
    /// The Version of Kavita on the first run
    /// </summary>
    public string? FirstInstallVersion { get; set; }

}
