using System; using System.Collections.Generic; using API.Entities.Interfaces; namespace API.Entities { /// /// This is a collection of which represent individual chapters and an order. /// public class ReadingList : IEntityDate { public int Id { get; init; } public string Title { get; set; } public string Summary { get; set; } /// /// Reading lists that are promoted are only done by admins /// public bool Promoted { get; set; } public ICollection Items { get; set; } public DateTime Created { get; set; } public DateTime LastModified { get; set; } // Relationships public int AppUserId { get; set; } public AppUser AppUser { get; set; } } }