28 lines
707 B
C#
28 lines
707 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;
|
|
|
|
}
|
|
}
|