mirror of
https://github.com/morbalint/kemkas-backend.git
synced 2026-07-17 21:23:46 +00:00
24 lines
584 B
C#
24 lines
584 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Kemkas.Web.ViewModels;
|
|
|
|
public class CharacterListItemDto()
|
|
{
|
|
[JsonPropertyName("id")]
|
|
public required Guid Id { get; set; }
|
|
|
|
[JsonPropertyName("name")]
|
|
public required string Name { get; set; }
|
|
|
|
[JsonPropertyName("szint")]
|
|
public required byte Szint { get; set; }
|
|
|
|
[JsonPropertyName("faj")]
|
|
public required string Faj { get; set; }
|
|
|
|
[JsonPropertyName("osztaly")]
|
|
public required string Osztaly { get; set; }
|
|
|
|
[JsonPropertyName("edition")]
|
|
public required string Edition { get; set; }
|
|
} |