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,35 @@
using System.Text.Json.Serialization;
namespace CannedNet.Models;
public class ConsumableItem
{
public int Id { get; set; }
public int OwnerAccountId { get; set; }
[JsonPropertyName("Ids")]
public List<int> Ids { get; set; } = new();
[JsonPropertyName("CreatedAts")]
public List<DateTime> CreatedAts { get; set; } = new();
[JsonPropertyName("ConsumableItemDesc")]
public string ConsumableItemDesc { get; set; } = string.Empty;
[JsonPropertyName("Count")]
public int Count { get; set; }
[JsonPropertyName("InitialCount")]
public int InitialCount { get; set; }
[JsonPropertyName("IsActive")]
public bool IsActive { get; set; }
[JsonPropertyName("ActiveDurationMinutes")]
public int ActiveDurationMinutes { get; set; }
[JsonPropertyName("IsTransferable")]
public bool IsTransferable { get; set; }
}