using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using ReallifeGamemode.Database.Models;

namespace ReallifeGamemode.Database.Entities
{
  public partial class Group : BankAccountHolder<GroupBankAccount>
  {
    [Key]
    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    public int Id { get; set; }

    public string Name { get; set; }

    public override string BankAccountName => Name;
  }
}
