14 lines
284 B
C#
14 lines
284 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace PrizeSystem
|
|
{
|
|
[JsonConverter(typeof(PrizeConverter))]
|
|
public abstract class Prize
|
|
{
|
|
public PrizeType PrizeType { get; }
|
|
protected Prize(PrizeType prizeType)
|
|
{
|
|
PrizeType = prizeType;
|
|
}
|
|
}
|
|
} |