Class ProjectForumMessage
Represents a message posted within a forum topic, containing the actual content of the discussion.
public class ProjectForumMessage
- Inheritance
-
ProjectForumMessage
- Inherited Members
Remarks
Forum messages are the individual posts within a forum topic. Each message has a body (the message content), a creator, and timestamps for creation and updates. Messages support soft deletion, allowing content to be hidden while preserving data integrity. Messages are ordered chronologically within their topic.
Properties
Body
Gets or sets the body content of this forum message.
public string Body { get; set; }
Property Value
- string
- Represents a message posted within a forum topic, containing the actual content of the discussion.
Remarks
This is a required field and contains the actual message text. The body may contain formatted text or markdown depending on the forum implementation.
CreatedAtUtc
Gets or sets the UTC timestamp when this forum message was created.
public DateTime CreatedAtUtc { get; set; }
Property Value
- DateTime
- Represents a message posted within a forum topic, containing the actual content of the discussion.
CreatedByUser
Gets or sets the user who created this forum message.
public User CreatedByUser { get; set; }
Property Value
- User
- Represents a message posted within a forum topic, containing the actual content of the discussion.
CreatedByUserId
Gets or sets the unique identifier of the user who created this forum message.
public Guid CreatedByUserId { get; set; }
Property Value
- Guid
- Represents a message posted within a forum topic, containing the actual content of the discussion.
DeletedAtUtc
Gets or sets the UTC timestamp when this forum message was deleted, or null if it has not been deleted.
public DateTime? DeletedAtUtc { get; set; }
Property Value
- DateTime?
- Represents a message posted within a forum topic, containing the actual content of the discussion.
DeletedByUser
Gets or sets the user who deleted this forum message, or null if it has not been deleted.
public User? DeletedByUser { get; set; }
Property Value
- User
- Represents a message posted within a forum topic, containing the actual content of the discussion.
DeletedByUserId
Gets or sets the unique identifier of the user who deleted this forum message, or null if it has not been deleted.
public Guid? DeletedByUserId { get; set; }
Property Value
- Guid?
- Represents a message posted within a forum topic, containing the actual content of the discussion.
Id
Gets or sets the unique identifier for this forum message.
public Guid Id { get; set; }
Property Value
- Guid
- Represents a message posted within a forum topic, containing the actual content of the discussion.
IsDeleted
Gets or sets a value indicating whether this forum message has been soft-deleted.
public bool IsDeleted { get; set; }
Property Value
- bool
- Represents a message posted within a forum topic, containing the actual content of the discussion.
Remarks
Soft-deleted messages are hidden from normal view but remain in the database for audit purposes.
Topic
Gets or sets the forum topic this message belongs to.
public ProjectForumTopic Topic { get; set; }
Property Value
- ProjectForumTopic
- Represents a message posted within a forum topic, containing the actual content of the discussion.
TopicId
Gets or sets the unique identifier of the forum topic this message belongs to.
public Guid TopicId { get; set; }
Property Value
- Guid
- Represents a message posted within a forum topic, containing the actual content of the discussion.
UpdatedAtUtc
Gets or sets the UTC timestamp when this forum message was last updated, or null if it has never been updated.
public DateTime? UpdatedAtUtc { get; set; }
Property Value
- DateTime?
- Represents a message posted within a forum topic, containing the actual content of the discussion.