2018-04-08 17:50:58 -04:00
|
|
|
|
using SharedLibraryCore.Database.Models;
|
2018-02-09 02:21:25 -05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
2018-04-08 17:50:58 -04:00
|
|
|
|
namespace IW4MAdmin.Plugins.Stats.Models
|
2018-02-09 02:21:25 -05:00
|
|
|
|
{
|
|
|
|
|
public class EFServerStatistics : SharedEntity
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public int StatisticId { get; set; }
|
|
|
|
|
public int ServerId { get; set; }
|
|
|
|
|
[ForeignKey("ServerId")]
|
|
|
|
|
public virtual EFServer Server { get; set; }
|
|
|
|
|
public long TotalKills { get; set; }
|
|
|
|
|
public long TotalPlayTime { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|