41e894cd42
2e is hidden behind url navigation hiding, so hoping that nobody found it yet. Note: DB migration make this commit a bit risky!
46 lines
1.2 KiB
C#
46 lines
1.2 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Kemkas.Web.ViewModels;
|
|
|
|
public struct Character2eDto
|
|
{
|
|
[Required]
|
|
[JsonPropertyName("nev")]
|
|
public string Nev { get; set; }
|
|
|
|
[JsonPropertyName("nem")]
|
|
public string? Nem { get; set; }
|
|
|
|
[JsonPropertyName("kor")]
|
|
public double? Kor { get; set; }
|
|
|
|
[JsonPropertyName("jellem")]
|
|
public string Jellem { get; set; }
|
|
|
|
[JsonPropertyName("isten")]
|
|
public string? Isten { get; set; }
|
|
|
|
[JsonPropertyName("faj")]
|
|
public string Faj { get; set; }
|
|
|
|
[JsonPropertyName("tulajdonsagok")]
|
|
public KarakterTulajdonsagokDto Tulajdonsagok { get; set; }
|
|
|
|
[JsonPropertyName("kepzettsegek")]
|
|
public IList<string> Kepzettsegek { get; set; }
|
|
|
|
[JsonPropertyName("tolvajkepzettsegek")]
|
|
public IList<string>? Tolvajkepzettsegek { get; set; }
|
|
|
|
[JsonPropertyName("szint")]
|
|
public byte Szint { get; set; }
|
|
|
|
[JsonPropertyName("szintlepesek")]
|
|
public IList<Szintlepes> Szintlepesek { get; set; }
|
|
|
|
[JsonPropertyName("felszereles")]
|
|
public KarakterFelszerelesDto Felszereles { get; set; }
|
|
|
|
public bool? IsPublic { get; set; }
|
|
} |