mirror of
https://github.com/CannedNet/CannedNet.git
synced 2026-10-26 23:48:58 -07:00
move models to shared, make new admin project
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace CannedNet.Models;
|
||||
|
||||
public class EarnableReward
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
[JsonPropertyName("friendlyName")]
|
||||
public string FriendlyName { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("rewardContext")]
|
||||
public int RewardContext { get; set; }
|
||||
|
||||
[JsonPropertyName("consumableItemDesc")]
|
||||
public string ConsumableItemDesc { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("avatarItemDesc")]
|
||||
public string AvatarItemDesc { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("avatarItemType")]
|
||||
public int AvatarItemType { get; set; }
|
||||
|
||||
[JsonPropertyName("giftRarity")]
|
||||
public int GiftRarity { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user