mirror of
https://github.com/morbalint/kemkas-backend.git
synced 2026-07-17 21:23:46 +00:00
add 2E Varazslatok and rename Character to Karakter
This commit is contained in:
@@ -3,7 +3,7 @@ using System.Text.Json.Serialization;
|
||||
|
||||
namespace Kemkas.Web.ViewModels;
|
||||
|
||||
public class Character1eDto
|
||||
public class Karakter1eDto
|
||||
{
|
||||
[Required]
|
||||
[JsonPropertyName("name")]
|
||||
@@ -3,7 +3,7 @@ using System.Text.Json.Serialization;
|
||||
|
||||
namespace Kemkas.Web.ViewModels;
|
||||
|
||||
public class Character2eDto
|
||||
public class Karakter2eDto
|
||||
{
|
||||
[Required]
|
||||
[JsonPropertyName("nev")]
|
||||
@@ -41,6 +41,9 @@ public class Character2eDto
|
||||
|
||||
[JsonPropertyName("felszereles")]
|
||||
public KarakterFelszereles2eDto Felszereles { get; set; }
|
||||
|
||||
[JsonPropertyName("varazslatok")]
|
||||
public IList<KarakterVarazslat2eDto>? Varazslatok { get; set; }
|
||||
|
||||
public bool? IsPublic { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Kemkas.Web.ViewModels;
|
||||
|
||||
public class KarakterVarazslat2eDto
|
||||
{
|
||||
[JsonPropertyName("id")]
|
||||
public string VarazslatId { get; set; }
|
||||
|
||||
[JsonPropertyName("bekeszitve")]
|
||||
public bool Bekeszitve { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user