2021-03-22 11:09:25 -05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2018-04-09 14:17:10 -05:00
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
2021-03-22 11:09:25 -05:00
|
|
|
|
using Data.Models.Server;
|
2018-03-06 01:22:19 -06:00
|
|
|
|
|
2021-03-22 11:09:25 -05:00
|
|
|
|
namespace Data.Models.Client.Stats
|
2018-03-06 01:22:19 -06:00
|
|
|
|
{
|
|
|
|
|
public class EFHitLocationCount : SharedEntity
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public int HitLocationCountId { get; set; }
|
|
|
|
|
[Required]
|
2021-03-22 11:09:25 -05:00
|
|
|
|
public int Location { get; set; }
|
2018-03-06 01:22:19 -06:00
|
|
|
|
[Required]
|
|
|
|
|
public int HitCount { get; set; }
|
2018-03-27 19:27:01 -05:00
|
|
|
|
[Required]
|
|
|
|
|
public float HitOffsetAverage { get; set; }
|
2018-05-03 00:25:49 -05:00
|
|
|
|
[Required]
|
|
|
|
|
public float MaxAngleDistance { get; set; }
|
|
|
|
|
[Required]
|
2019-10-07 10:26:07 -05:00
|
|
|
|
[Column("EFClientStatisticsClientId")]
|
|
|
|
|
public int EFClientStatisticsClientId { get; set; }
|
|
|
|
|
[ForeignKey("EFClientStatisticsClientId")]
|
2018-04-09 14:17:10 -05:00
|
|
|
|
public EFClient Client { get; set; }
|
2019-10-07 10:26:07 -05:00
|
|
|
|
[Column("EFClientStatisticsServerId")]
|
|
|
|
|
public long EFClientStatisticsServerId { get; set; }
|
|
|
|
|
[ForeignKey("EFClientStatisticsServerId")]
|
2018-04-09 14:17:10 -05:00
|
|
|
|
public EFServer Server { get; set; }
|
2018-03-06 01:22:19 -06:00
|
|
|
|
}
|
|
|
|
|
}
|