session-companion/SessionCompanion/SessionCompanion.Database/Tables/Character.cs

24 lines
872 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace SessionCompanion.Database.Tables
{
public class Character : BaseEntity
{
[ForeignKey(nameof(User))]
public int UserId { get; set; }
public virtual User User { get; set; }
public virtual Biography Biography { get; set; }
public virtual Statistics Statistics { get; set; }
public virtual Charisma Charisma { get; set; }
public virtual Constitution Constitution { get; set; }
public virtual Dexterity Dexterity { get; set; }
public virtual Intelligence Intelligence { get; set; }
public virtual Strength Strength { get; set; }
public virtual Wisdom Wisdom { get; set; }
}
}