[2e][DB] felszereles viselt cipelt aprosagok

This commit is contained in:
2024-05-21 02:25:14 +02:00
parent e74196e61c
commit b801ecd9d6
18 changed files with 907 additions and 36 deletions
+13 -2
View File
@@ -1,3 +1,4 @@
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
@@ -10,8 +11,18 @@ public class V2Felszereles
public Guid KarakterId { get; set; }
public string TargyId { get; set; }
public bool IsFegyver { get; set; } = true;
[DefaultValue(1)]
public int Count { get; set; } = 1;
public bool IsFegyver { get; set; } = false;
public bool IsViselt { get; set; } = false;
public bool IsCipelt { get; set; } = false;
public bool IsAprosag { get; set; } = false;
[ForeignKey(nameof(KarakterId))]
public virtual V2Karakter Karakter { get; set; }
}