db: AddOsztalyToV2KarakterVarazslat

This commit is contained in:
2024-07-25 09:21:11 +02:00
parent 9a6ca9d4e0
commit 1b157104dc
9 changed files with 825 additions and 33 deletions
@@ -1,5 +1,6 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Kemkas.Web.Db.Enums;
namespace Kemkas.Web.Db.Models;
@@ -14,6 +15,8 @@ public class V2KarakterVarazslat
public bool Bekeszitve { get; set; }
public Osztaly2E Osztaly { get; set; }
[ForeignKey(nameof(KarakterId))]
public V2Karakter Karakter { get; set; }
}