71 lines
1.7 KiB
C#
71 lines
1.7 KiB
C#
namespace Nop.Core.Domain.Forums;
|
|
|
|
/// <summary>
|
|
/// Represents a forum topic
|
|
/// </summary>
|
|
public partial class ForumTopic : BaseEntity
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the forum identifier
|
|
/// </summary>
|
|
public int ForumId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the customer identifier
|
|
/// </summary>
|
|
public int CustomerId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the topic type identifier
|
|
/// </summary>
|
|
public int TopicTypeId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the subject
|
|
/// </summary>
|
|
public string Subject { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the number of posts
|
|
/// </summary>
|
|
public int NumPosts { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the number of views
|
|
/// </summary>
|
|
public int Views { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the last post identifier
|
|
/// </summary>
|
|
public int LastPostId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the last post customer identifier
|
|
/// </summary>
|
|
public int LastPostCustomerId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the last post date and time
|
|
/// </summary>
|
|
public DateTime? LastPostTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the date and time of instance creation
|
|
/// </summary>
|
|
public DateTime CreatedOnUtc { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the date and time of instance update
|
|
/// </summary>
|
|
public DateTime UpdatedOnUtc { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the forum topic type
|
|
/// </summary>
|
|
public ForumTopicType ForumTopicType
|
|
{
|
|
get => (ForumTopicType)TopicTypeId;
|
|
set => TopicTypeId = (int)value;
|
|
}
|
|
} |