using System.ComponentModel.DataAnnotations; using DCGEngine.Database.Interfaces; using Microsoft.EntityFrameworkCore; namespace DCGEngine.Database.Models; /// /// A deck consisting of multiple stored in the DB. /// public abstract class DeckEntry : BaseEntity { /// /// How this deck is referred to internally. /// [Required(AllowEmptyStrings = false)] public virtual string Name { get; set; } = string.Empty; /// /// The cards present in this deck. /// public virtual List Cards { get; set; } = new List(); }