continue Gangwar System

This commit is contained in:
Lukas Moungos
2019-11-30 18:54:11 +01:00
parent e3dbf7c4e1
commit a4303a1a01
14 changed files with 1904 additions and 6 deletions

View File

@@ -0,0 +1,31 @@
using GTANetworkAPI;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
namespace ReallifeGamemode.Database.Entities
{
public 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 int X { get; set; }
public int Y { get; set; }
public int Rotation { get; set; }
public int Range { get; set; }
public int Color { get; set; }
}
}