using System;
namespace API.DTOs.KavitaPlus.License;
public sealed record LicenseInfoDto
{
///
/// If cancelled, will represent cancellation date. If not, will represent repayment date
///
public DateTime ExpirationDate { get; set; }
///
/// If cancelled or not
///
public bool IsActive { get; set; }
///
/// If will be or is cancelled
///
public bool IsCancelled { get; set; }
///
/// Is the installed version valid for Kavita+ (aka within 3 releases)
///
public bool IsValidVersion { get; set; }
///
/// The email on file
///
public string RegisteredEmail { get; set; }
///
/// Number of months user has been subscribed
///
public int TotalMonthsSubbed { get; set; }
///
/// A license is stored within Kavita
///
public bool HasLicense { get; set; }
}