7bb7ab6f13
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 :(
17 lines
430 B
C#
17 lines
430 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Kemkas.Web.Db.Models;
|
|
|
|
public class V1Felszereles
|
|
{
|
|
[Key]
|
|
public Guid Id { get; set; }
|
|
public Guid KarakterId { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
public bool IsFegyver { get; set; } = true;
|
|
|
|
[ForeignKey(nameof(KarakterId))]
|
|
public virtual V1Karakter Karakter { get; set; }
|
|
} |