mirror of
https://github.com/TbT480jcspy/Deluxe-2023-Server-Code.git
synced 2026-09-08 14:41:26 -07:00
14 lines
445 B
C#
14 lines
445 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace DeluxeNET.Data
|
|
{
|
|
public class progression
|
|
{
|
|
[JsonPropertyName("Id")][Key] public long Id { get; set; }
|
|
[JsonPropertyName("PlayerId")] public required long PlayerId { get; set; }
|
|
[JsonPropertyName("Level")] public int Level { get; set; } = 1;
|
|
[JsonPropertyName("XP")] public int XP { get; set; } = 0;
|
|
}
|
|
}
|