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; }
|
2018-11-27 19:31:48 -05:00
|
|
|
|
public long ServerId { get; set; }
|
2018-02-09 02:21:25 -05:00
|
|
|
|
[ForeignKey("ServerId")]
|
|
|
|
|
public virtual EFServer Server { get; set; }
|
|
|
|
|
public long TotalKills { get; set; }
|
|
|
|
|
public long TotalPlayTime { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|