Files
kemkas-frontend/Kemkas.Web/Db/Models/V1Szintlepes.cs
T
morbalint 41e894cd42 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!
2024-02-14 17:34:20 +01:00

28 lines
757 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Kemkas.Web.Db.Enums;
namespace Kemkas.Web.Db.Models;
public class V1Szintlepes
{
[Key]
public Guid Id { get; set; }
public Guid KarakterId { get; set; }
public byte KarakterSzint { get; set; }
// for multiclass characters
// public Osztaly Osztaly { get; set; }
//
// public byte OsztalySzint { get; set; }
public byte HpRoll { get; set; }
public Tulajdonsag? TulajdonsagNoveles { get; set; }
// used for both Kaloz/Tengeresz and Harcos
public string? FegyverSpecializacio { get; set; }
[ForeignKey(nameof(KarakterId))]
public virtual V1Karakter Karakter { get; set; }
}