mirror of
https://github.com/morbalint/kemkas-backend.git
synced 2026-07-17 21:23:46 +00:00
[2e][DB] felszereles viselt cipelt aprosagok
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user