using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using ReallifeGamemode.Database.Models; /** * @overview Life of German Reallife - Entities Faction (Faction.cs) * @author VegaZ, hydrant * @copyright (c) 2008 - 2018 Life of German */ namespace ReallifeGamemode.Database.Entities { public partial class Faction : BankAccountHolder { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; } [StringLength(32)] public string Name { get; set; } public bool StateOwned { get; set; } public bool GangOwned { get; set; } public int WeaponDealTime { get; set; } = 60; public override string BankAccountName => Name; } }