9d6cbee69c
change server id fIx change log server complaining when empty read
18 lines
531 B
C#
18 lines
531 B
C#
using SharedLibraryCore.Database.Models;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace IW4MAdmin.Plugins.Stats.Models
|
|
{
|
|
public class EFServerStatistics : SharedEntity
|
|
{
|
|
[Key]
|
|
public int StatisticId { get; set; }
|
|
public long ServerId { get; set; }
|
|
[ForeignKey("ServerId")]
|
|
public virtual EFServer Server { get; set; }
|
|
public long TotalKills { get; set; }
|
|
public long TotalPlayTime { get; set; }
|
|
}
|
|
}
|