2021-03-22 12:09:25 -04:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2018-04-09 15:17:10 -04:00
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
2021-03-22 12:09:25 -04:00
|
|
|
|
using Data.Models.Server;
|
2018-03-06 02:22:19 -05:00
|
|
|
|
|
2021-03-22 12:09:25 -04: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]
|
2021-03-22 12:09:25 -04:00
|
|
|
|
public int Location { get; set; }
|
2018-03-06 02:22:19 -05:00
|
|
|
|
[Required]
|
|
|
|
|
public int HitCount { get; set; }
|
2018-03-27 20:27:01 -04:00
|
|
|
|
[Required]
|
|
|
|
|
public float HitOffsetAverage { get; set; }
|
2018-05-03 01:25:49 -04:00
|
|
|
|
[Required]
|
|
|
|
|
public float MaxAngleDistance { get; set; }
|
|
|
|
|
[Required]
|
2019-10-07 11:26:07 -04:00
|
|
|
|
[Column("EFClientStatisticsClientId")]
|
|
|
|
|
public int EFClientStatisticsClientId { get; set; }
|
|
|
|
|
[ForeignKey("EFClientStatisticsClientId")]
|
2018-04-09 15:17:10 -04:00
|
|
|
|
public EFClient Client { get; set; }
|
2019-10-07 11:26:07 -04:00
|
|
|
|
[Column("EFClientStatisticsServerId")]
|
|
|
|
|
public long EFClientStatisticsServerId { get; set; }
|
|
|
|
|
[ForeignKey("EFClientStatisticsServerId")]
|
2018-04-09 15:17:10 -04:00
|
|
|
|
public EFServer Server { get; set; }
|
2018-03-06 02:22:19 -05:00
|
|
|
|
}
|
|
|
|
|
}
|