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

16 lines
478 B
C#

namespace SessionCompanion.Database.Tables
{
using System.ComponentModel.DataAnnotations.Schema;
public class CharacterOtherEquipment : BaseEntity
{
[ForeignKey(nameof(Character))]
public int CharacterId { get; set; }
public virtual Character Character { get; set; }
[ForeignKey(nameof(OtherEquipment))]
public int OtherEquipmentId { get; set; }
public virtual OtherEquipment OtherEquipment { get; set; }
}
}