mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-20 05:54:15 -04:00
* Fixed a bad color on the PWA titlebar * Added more unit tests, cleaned up some dead code, and made it so when age restriction is Not Applicable, the Unknowns field disables * Don't show an empty menu when user has no permissions * Fixed deleting a library with relation causing library deleting to fail * Consolidated some includes code into one method for Series Repo * Small fixes
31 lines
972 B
C#
31 lines
972 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using API.Entities.Enums;
|
|
using API.Entities.Interfaces;
|
|
|
|
namespace API.Entities;
|
|
|
|
public class Library : IEntityDate
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; }
|
|
/// <summary>
|
|
/// This is not used, but planned once we build out a Library detail page
|
|
/// </summary>
|
|
[Obsolete("This has never been coded for. Likely we can remove it.")]
|
|
public string CoverImage { get; set; }
|
|
public LibraryType Type { get; set; }
|
|
public DateTime Created { get; set; }
|
|
public DateTime LastModified { get; set; }
|
|
/// <summary>
|
|
/// Last time Library was scanned
|
|
/// </summary>
|
|
/// <remarks>Time stored in UTC</remarks>
|
|
public DateTime LastScanned { get; set; }
|
|
public ICollection<FolderPath> Folders { get; set; }
|
|
public ICollection<AppUser> AppUsers { get; set; }
|
|
public ICollection<Series> Series { get; set; }
|
|
}
|