Files
gaseous-server/gaseous-server/Models/StatisticsModel.cs
Michael Green a2d863dc7a Added game last played, and total play time stats
* Added game last played, and total play time stats
2024-02-07 16:19:30 +11:00

17 lines
439 B
C#

namespace gaseous_server.Models
{
public class StatisticsModel
{
public Guid SessionId { get; set; } = Guid.Empty;
public long GameId { get; set; }
public DateTime SessionStart { get; set; }
public int SessionLength { get; set; }
public DateTime SessionEnd
{
get
{
return SessionStart.AddMinutes(SessionLength);
}
}
}
}