2020-12-02 23:05:06 +01:00
|
|
|
|
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; }
|
2020-12-04 15:49:51 +01:00
|
|
|
|
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; }
|
2020-12-02 23:05:06 +01:00
|
|
|
|
}
|
|
|
|
|
}
|