using SVSim.Database.Enums; namespace SVSim.Database.Models; /// /// Association: when a viewer acquires , they should also receive /// the cosmetic identified by (, ) if they don't /// already own it. /// /// Always recorded on the NON-FOIL row of a card. Foil twins (card_id + 1) inherit at /// lookup time — see CardAcquisitionService for the foil-resolution rule. /// /// Composite PK on (CardId, Type, CosmeticId): naturally enforces "no duplicates" AND /// satisfies EF's deterministic-PK requirement for HasData seeding. /// public class CardCosmeticReward { public long CardId { get; set; } public CosmeticType Type { get; set; } public long CosmeticId { get; set; } public int Quantity { get; set; } = 1; public ShadowverseCardEntry Card { get; set; } = null!; }