huge commit for advanced stats feature.
broke data out into its own library. may be breaking changes with existing plugins
This commit is contained in:
16
Data/Models/Server/EFServerStatistics.cs
Normal file
16
Data/Models/Server/EFServerStatistics.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Data.Models.Server
|
||||
{
|
||||
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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user