mirror of
https://github.com/morbalint/kemkas.git
synced 2026-07-18 03:13:46 +00:00
adding hidden basic asp.net core backend (#30)
Base functionality:
DB
email sending
user registration & login
storing new characters and reading them back
Notes:
Functionality is "hidden" with no links pointing to it.
Most pages are scaffolded and not reviewed at all :(
local Dev db setup is pushed to git
NO local email setup :(
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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; }
|
||||
public string? FegyverSpecializacio { get; set; }
|
||||
|
||||
[ForeignKey(nameof(KarakterId))]
|
||||
public virtual V1Karakter Karakter { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user