Files
2020-06-22 19:31:39 +02:00

29 lines
778 B
C#

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<FactionBankAccount>
{
[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;
}
}