move models to shared, make new admin project

This commit is contained in:
Lapis
2026-06-16 18:32:28 -04:00
parent ee98c4c369
commit c20d215ee0
106 changed files with 60428 additions and 5 deletions
@@ -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; }
}