14261c8e29
Add the function to change player name
14 lines
405 B
C#
14 lines
405 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SharedProject.models;
|
|
|
|
public class User
|
|
{
|
|
// ReSharper disable once UnusedAutoPropertyAccessor.Global
|
|
[JsonPropertyName(nameof(CardId))]
|
|
public long CardId { get; set; }
|
|
|
|
// ReSharper disable once AutoPropertyCanBeMadeGetOnly.Global
|
|
[JsonPropertyName(nameof(PlayerName))]
|
|
public string PlayerName { get; set; } = string.Empty;
|
|
} |