using Microsoft.EntityFrameworkCore;
namespace SVSim.Database.Models;
///
/// Represents viewer ownership of a .
///
[Owned]
public class OwnedCardEntry
{
///
/// Game rule: a viewer may own at most this many copies of a single card. Mirrors the
/// client constant CardMake.CAN_CREATE_MAX = 3. Used by /card/create to
/// reject batches that would exceed the cap.
///
public const int MaxCopies = 3;
public ShadowverseCardEntry Card { get; set; } = new ShadowverseCardEntry();
public int Count { get; set; }
public bool IsProtected { get; set; }
}