using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace ReallifeGamemode.Database.Entities.Logs
{
  public class LogEntry
  {
    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    public long Id { get; set; }

    public User User { get; set; }

    public int UserId { get; set; }

    public User AffectedBy { get; set; }

    public int? AffectedById { get; set; }

    public Faction AffectedFaction { get; set; }

    public int? AffectedFactionId { get; set; }

    public string Message { get; set; }

    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    public DateTime Time { get; set; }
  }
}
