mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
huge commit for advanced stats feature.
broke data out into its own library. may be breaking changes with existing plugins
This commit is contained in:
21
Data/Models/Client/Stats/Reference/EFWeapon.cs
Normal file
21
Data/Models/Client/Stats/Reference/EFWeapon.cs
Normal file
@ -0,0 +1,21 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Data.Abstractions;
|
||||
using Stats.Models;
|
||||
|
||||
namespace Data.Models.Client.Stats.Reference
|
||||
{
|
||||
public class EFWeapon : AuditFields, IUniqueId
|
||||
{
|
||||
[Key]
|
||||
public int WeaponId { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Name { get; set; }
|
||||
|
||||
[Required]
|
||||
public Models.Reference.Game Game { get; set; }
|
||||
|
||||
public long Id => WeaponId;
|
||||
public string Value => Name;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user