16 lines
283 B
C#
16 lines
283 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace PrizeSystem
|
|
{
|
|
public class QrPrize : Prize
|
|
{
|
|
public string PrizeText { get; }
|
|
|
|
[JsonConstructor]
|
|
public QrPrize(string prizeText) : base(PrizeType.Qr)
|
|
{
|
|
PrizeText = prizeText;
|
|
}
|
|
}
|
|
}
|