continue Gangwar System
This commit is contained in:
31
ReallifeGamemode.Database/Entities/Turfs.cs
Normal file
31
ReallifeGamemode.Database/Entities/Turfs.cs
Normal 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; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user