mirror of
https://github.com/CannedNet/CannedNet.git
synced 2026-10-25 23:18:54 -07:00
move models to shared, make new admin project
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace CannedNet.Models;
|
||||
|
||||
public class BuyItemRequest
|
||||
{
|
||||
[JsonPropertyName("StorefrontType")]
|
||||
public int StorefrontType { get; set; }
|
||||
|
||||
[JsonPropertyName("PurchasableItemId")]
|
||||
public int PurchasableItemId { get; set; }
|
||||
|
||||
[JsonPropertyName("CurrencyType")]
|
||||
public int CurrencyType { get; set; }
|
||||
|
||||
[JsonPropertyName("CouponConsumablePlayerMappingId")]
|
||||
public int? CouponConsumablePlayerMappingId { get; set; }
|
||||
|
||||
[JsonPropertyName("Gift")]
|
||||
public GiftRequest? Gift { get; set; }
|
||||
}
|
||||
|
||||
public class GiftRequest
|
||||
{
|
||||
[JsonPropertyName("ToPlayerId")]
|
||||
public int ToPlayerId { get; set; }
|
||||
|
||||
[JsonPropertyName("Message")]
|
||||
public string Message { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("Anonymous")]
|
||||
public bool Anonymous { get; set; }
|
||||
|
||||
[JsonPropertyName("GiftContext")]
|
||||
public int GiftContext { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user