using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GreenTree.Nachtragsmanagement.Core.Domain.Logging { public class Log : BaseEntity { /// /// The log level identifier /// public int LogLevelId { get; set; } /// /// The short message /// public string ShortMessage { get; set; } /// /// The full exception /// public string FullMessage { get; set; } /// /// The IP address /// public string IpAddress { get; set; } /// /// The user identifier /// public int? UserId { get; set; } /// /// The user /// public virtual User.User User { get; set; } /// /// The entity identifier /// public int? EntityId { get; set; } /// /// The entity type /// public string EntityType { get; set; } /// /// The page URL /// public string PageUrl { get; set; } /// /// Referrer URL /// public string ReferrerUrl { get; set; } /// /// The date and time of instance creation /// public DateTime CreatedOnUtc { get; set; } /// /// The log level /// public LogLevel LogLevel { get { return (LogLevel)this.LogLevelId; } set { this.LogLevelId = (int)value; } } } }