IW4M-Admin/Data/Models/Client/Stats/Reference/EFWeaponAttachment.cs

22 lines
511 B
C#
Raw Normal View History

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