using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace ReallifeGamemode.Database { public abstract class BankAccountHolder where T : class, IBankAccount, new() { public abstract string BankAccountName { get; } [ForeignKey(nameof(BankAccountId))] public virtual T BankAccount { get; set; } public virtual int? BankAccountId { get; set; } } }