2023-02-16 09:53:02 +01:00
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
using Domain.Enums;
|
|
|
|
|
|
|
|
|
|
namespace Domain.Config;
|
2023-02-13 17:38:19 +01:00
|
|
|
|
|
|
|
|
|
public class UnlockRewardConfig
|
|
|
|
|
{
|
|
|
|
|
public int RewardId { get; set; }
|
2023-02-16 09:53:02 +01:00
|
|
|
|
|
|
|
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
|
|
|
public RewardType RewardType { get; set; }
|
|
|
|
|
|
2023-02-13 17:38:19 +01:00
|
|
|
|
public int TargetId { get; set; }
|
2023-02-16 09:53:02 +01:00
|
|
|
|
|
2023-02-13 17:38:19 +01:00
|
|
|
|
public int TargetNum { get; set; }
|
2023-02-16 09:53:02 +01:00
|
|
|
|
|
2023-02-13 17:38:19 +01:00
|
|
|
|
public int KeyNum { get; set; }
|
|
|
|
|
}
|