25 lines
598 B
C#
25 lines
598 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Text;
|
|
using GTANetworkAPI;
|
|
|
|
namespace ReallifeGamemode.Server.Entities
|
|
{
|
|
public class FactionWeapon
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int Id { get; set; }
|
|
|
|
[ForeignKey("Faction")]
|
|
public int? FactionId { get; set; }
|
|
public Faction Faction { get; set; }
|
|
|
|
public string WeaponModel { get; set; }
|
|
public int SlotID { get; set; }
|
|
public int Rank { get; set; }
|
|
}
|
|
}
|