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

19 lines
475 B
C#

namespace SessionCompanion.Database.Tables
{
using System.ComponentModel.DataAnnotations.Schema;
public class CharacterArmor : BaseEntity
{
[ForeignKey(nameof(Character))]
public int CharacterId { get; set; }
public virtual Character Character { get; set; }
[ForeignKey(nameof(Armor))]
public int ArmorId { get; set; }
public virtual Armor Armor { get; set; }
public bool InUse { get; set; }
}
}