mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 07:13:58 -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/EFWeaponAttachment.cs
Normal file
21
Data/Models/Client/Stats/Reference/EFWeaponAttachment.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 EFWeaponAttachment : AuditFields, IUniqueId
|
||||
{
|
||||
[Key]
|
||||
public int WeaponAttachmentId { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Name { get; set; }
|
||||
|
||||
[Required]
|
||||
public Models.Reference.Game Game { get; set; }
|
||||
|
||||
public long Id => WeaponAttachmentId;
|
||||
public string Value => Name;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user