Webiant Logo Webiant Logo
  1. No results found.

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

PrivateMessage.cs

namespace Nop.Core.Domain.Forums;

/// <summary>
/// Represents a private message
/// </summary>
public partial class PrivateMessage : BaseEntity
{
    /// <summary>
    /// Gets or sets the store identifier
    /// </summary>
    public int StoreId { get; set; }

    /// <summary>
    /// Gets or sets the customer identifier who sent the message
    /// </summary>
    public int FromCustomerId { get; set; }

    /// <summary>
    /// Gets or sets the customer identifier who should receive the message
    /// </summary>
    public int ToCustomerId { get; set; }

    /// <summary>
    /// Gets or sets the subject
    /// </summary>
    public string Subject { get; set; }

    /// <summary>
    /// Gets or sets the text
    /// </summary>
    public string Text { get; set; }

    /// <summary>
    /// Gets or sets a value indicating whether message is read
    /// </summary>
    public bool IsRead { get; set; }

    /// <summary>
    /// Gets or sets a value indicating whether message is deleted by author
    /// </summary>
    public bool IsDeletedByAuthor { get; set; }

    /// <summary>
    /// Gets or sets a value indicating whether message is deleted by recipient
    /// </summary>
    public bool IsDeletedByRecipient { get; set; }

    /// <summary>
    /// Gets or sets the date and time of instance creation
    /// </summary>
    public DateTime CreatedOnUtc { get; set; }
}