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

16 lines
478 B
C#
Raw Normal View History

2020-12-27 19:47:13 +01:00
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; }
}
}