Files
reallife-gamemode/ReallifeGamemode.Database/Entities/Turfs.cs
2020-04-04 18:33:44 +02:00

31 lines
835 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ReallifeGamemode.Database.Entities
{
public partial class Turfs
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
[ForeignKey("Faction")]
public int? FactionId { get; set; }
public static Faction Faction { get; set; }
public string Owner { get; set; }
public string Name { get; set; }
public float X { get; set; }
public float Y { get; set; }
public float Rotation { get; set; }
public float Range { get; set; }
public int Color { get; set; }
public string Vector { get; set; } = null;
public int Value {get; set;} = 0;
public int MaxValue { get; set; } = 0;
public bool Surplus { get; set; } = false;
}
}