27 lines
741 B
C#
27 lines
741 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Text;
|
|
using GTANetworkAPI;
|
|
|
|
namespace ReallifeGamemode.Database.Entities
|
|
{
|
|
public partial class Weapon
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int Id { get; set; }
|
|
public string WeaponModel { get; set; }
|
|
[ForeignKey("WeaponCategory")]
|
|
public int CategoryId { get; set; }
|
|
public WeaponCategory WeaponCategory { get; set; }
|
|
public int SlotID { get; set; }
|
|
public int Ammo { get; set; }
|
|
public float Price { get; set; }
|
|
|
|
public bool Legal { get; set; }
|
|
public bool AmmunationActive { get; set; }
|
|
}
|
|
}
|