mirror of
https://github.com/morbalint/kemkas.git
synced 2026-07-18 03:13:46 +00:00
feat: 2e save character initial implementation WIP
2e is hidden behind url navigation hiding, so hoping that nobody found it yet. Note: DB migration make this commit a bit risky!
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Kemkas.Web.Db.Models;
|
||||
|
||||
public class V2Felszereles
|
||||
{
|
||||
[Key]
|
||||
public Guid Id { get; set; }
|
||||
public Guid KarakterId { get; set; }
|
||||
|
||||
public string TargyId { get; set; }
|
||||
public bool IsFegyver { get; set; } = true;
|
||||
|
||||
[ForeignKey(nameof(KarakterId))]
|
||||
public virtual V2Karakter Karakter { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user