26 lines
582 B
C#
26 lines
582 B
C#
using GTANetworkAPI;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Text;
|
|
|
|
namespace ReallifeGamemode.Server.Entities
|
|
{
|
|
public class TuningGarage
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int Id { get; set; }
|
|
|
|
public float X { get; set; }
|
|
|
|
public float Y { get; set; }
|
|
|
|
public float Z { get; set; }
|
|
|
|
[NotMapped]
|
|
public Vector3 Position => new Vector3(X, Y, Z);
|
|
}
|
|
}
|