using System.ComponentModel.DataAnnotations.Schema; namespace ConnectionsAPI.Database.Entities; public class ConnectionsPuzzle { /// /// Primary key of the entity /// public int Id { get; set; } /// /// When the entity was created (is the sync date) /// public DateTime CreatedDate { get; set; } /// /// When the puzzle was "printed" online /// public string PrintDate { get; set; } = string.Empty; /// /// The name of the editor for the puzzle /// public string EditorName { get; set; } = string.Empty; /// /// The actual count of the puzzle /// public int Index { get; set; } /// /// The MD5 hash for the source content used to sync this puzzle /// public string ContentMD5 { get; set; } = string.Empty; /// /// The categories associated with this puzzle /// public virtual ICollection Categories { get; set; } = []; [NotMapped] public string? PrevPrintDate { get; set; } [NotMapped] public string? NextPrintDate { get; set; } }