using Newtonsoft.Json; namespace PrizeSystem { [JsonConverter(typeof(PrizeConverter))] public abstract class Prize { public PrizeType PrizeType { get; } protected Prize(PrizeType prizeType) { PrizeType = prizeType; } } }