Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

LogModel.cs

using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Web.Areas.Admin.Models.Logging;

/// 
/// Represents a log model
/// 
public partial record LogModel : BaseNopEntityModel
{
    #region Properties

    [NopResourceDisplayName("Admin.System.Log.Fields.LogLevel")]
    public string LogLevel { get; set; }

    [NopResourceDisplayName("Admin.System.Log.Fields.ShortMessage")]
    public string ShortMessage { get; set; }

    [NopResourceDisplayName("Admin.System.Log.Fields.FullMessage")]
    public string FullMessage { get; set; }

    [NopResourceDisplayName("Admin.System.Log.Fields.IPAddress")]
    public string IpAddress { get; set; }

    [NopResourceDisplayName("Admin.System.Log.Fields.Customer")]
    public int? CustomerId { get; set; }

    [NopResourceDisplayName("Admin.System.Log.Fields.Customer")]
    public string CustomerEmail { get; set; }

    [NopResourceDisplayName("Admin.System.Log.Fields.PageURL")]
    public string PageUrl { get; set; }

    [NopResourceDisplayName("Admin.System.Log.Fields.ReferrerURL")]
    public string ReferrerUrl { get; set; }

    [NopResourceDisplayName("Admin.System.Log.Fields.CreatedOn")]
    public DateTime CreatedOn { get; set; }

    #endregion
}