IW4M-Admin/Data/Models/Client/Stats/EFHitLocationCount.cs

30 lines
985 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Data.Models.Server;
2018-03-06 02:22:19 -05:00
namespace Data.Models.Client.Stats
2018-03-06 02:22:19 -05:00
{
public class EFHitLocationCount : SharedEntity
{
[Key]
public int HitLocationCountId { get; set; }
[Required]
public int Location { get; set; }
2018-03-06 02:22:19 -05:00
[Required]
public int HitCount { get; set; }
[Required]
public float HitOffsetAverage { get; set; }
[Required]
public float MaxAngleDistance { get; set; }
[Required]
[Column("EFClientStatisticsClientId")]
public int EFClientStatisticsClientId { get; set; }
[ForeignKey("EFClientStatisticsClientId")]
public EFClient Client { get; set; }
[Column("EFClientStatisticsServerId")]
public long EFClientStatisticsServerId { get; set; }
[ForeignKey("EFClientStatisticsServerId")]
public EFServer Server { get; set; }
2018-03-06 02:22:19 -05:00
}
}