IW4M-Admin/Data/Models/Client/Stats/Reference/EFWeaponAttachment.cs
RaidMax c5375b661b huge commit for advanced stats feature.
broke data out into its own library.
may be breaking changes with existing plugins
2021-03-22 11:09:25 -05:00

22 lines
511 B
C#

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;
}
}