b086190ab0
update migrations for unique index fix missing total connection time include total connection time in get client query
22 lines
667 B
C#
22 lines
667 B
C#
using SharedLibraryCore.Database.Models;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace IW4MAdmin.Plugins.Stats.Models
|
|
{
|
|
public class EFClientMessage : SharedEntity
|
|
{
|
|
[Key]
|
|
public long MessageId { get; set; }
|
|
public long ServerId { get; set; }
|
|
[ForeignKey("ServerId")]
|
|
public virtual EFServer Server { get; set; }
|
|
public int ClientId { get; set; }
|
|
[ForeignKey("ClientId")]
|
|
public virtual EFClient Client { get; set; }
|
|
public string Message { get; set; }
|
|
public DateTime TimeSent { get; set; }
|
|
}
|
|
}
|