31 lines
750 B
C#
31 lines
750 B
C#
using GTANetworkAPI;
|
|
using reallife_gamemode.Server.Util;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Text;
|
|
|
|
/**
|
|
* @overview Life of German Reallife - Entities ShopVehicles (ShopVehicles.cs)
|
|
* @author VegaZ
|
|
* @copyright (c) 2008 - 2018 Life of German
|
|
*/
|
|
|
|
namespace reallife_gamemode.Server.Entities
|
|
{
|
|
[Table("ShopVehicles")]
|
|
public class ShopVehicle : ServerVehicle
|
|
{
|
|
[ForeignKey("Shop")]
|
|
public int? ShopId { get; set; }
|
|
public Shop Shop { get; set; }
|
|
public int Price { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return "ShopVehicle";
|
|
}
|
|
}
|
|
}
|