Webiant Logo Webiant Logo
  1. No results found.

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

GdprLog.cs

namespace Nop.Core.Domain.Gdpr;

/// 
/// Represents a GDPR log
/// 
public partial class GdprLog : BaseEntity
{
    /// 
    /// Gets or sets the customer identifier
    /// 
    public int CustomerId { get; set; }

    /// 
    /// Gets or sets the consent identifier (0 if not related to any consent)
    /// 
    public int ConsentId { get; set; }

    /// 
    /// Gets or sets the customer info (when a customer records is already deleted)
    /// 
    public string CustomerInfo { get; set; }

    /// 
    /// Gets or sets the request type identifier
    /// 
    public int RequestTypeId { get; set; }

    /// 
    /// Gets or sets the request details
    /// 
    public string RequestDetails { get; set; }

    /// 
    /// Gets or sets the date and time of entity creation
    /// 
    public DateTime CreatedOnUtc { get; set; }

    /// 
    /// Gets or sets the request type
    /// 
    public GdprRequestType RequestType
    {
        get => (GdprRequestType)RequestTypeId;
        set => RequestTypeId = (int)value;
    }
}