mirror of
https://github.com/morbalint/kemkas.git
synced 2026-07-18 03:13:46 +00:00
41e894cd42
2e is hidden behind url navigation hiding, so hoping that nobody found it yet. Note: DB migration make this commit a bit risky!
17 lines
433 B
C#
17 lines
433 B
C#
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; }
|
|
} |