2018-04-08 17:50:58 -04:00
|
|
|
|
using SharedLibraryCore.Database.Models;
|
2018-02-10 01:26:38 -05:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2018-04-08 17:50:58 -04:00
|
|
|
|
namespace IW4MAdmin.Plugins.Stats.Models
|
2018-02-10 01:26:38 -05:00
|
|
|
|
{
|
|
|
|
|
public class EFClientMessage : SharedEntity
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public long MessageId { get; set; }
|
|
|
|
|
public int 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; }
|
|
|
|
|
}
|
|
|
|
|
}
|