Class ProjectForumMessageDto
- Namespace
- Builvero.Application.DTOs.Forum
- Assembly
- Builvero.Application.dll
Data transfer object representing a forum message within a topic.
public class ProjectForumMessageDto
- Inheritance
-
ProjectForumMessageDto
- Inherited Members
Remarks
This DTO is used for displaying forum messages in topics. Messages can be soft-deleted by admins/moderators, and deleted messages are only visible to users with elevated permissions (Admin, Moderator, TeamMember).
Properties
Body
Gets or sets the body/content of the message.
public string Body { get; set; }
Property Value
- string
- Data transfer object representing a forum message within a topic.
CreatedAtUtc
Gets or sets the UTC timestamp when the message was created.
public DateTime CreatedAtUtc { get; set; }
Property Value
- DateTime
- Data transfer object representing a forum message within a topic.
CreatedByUserId
Gets or sets the unique identifier of the user who created the message.
public Guid CreatedByUserId { get; set; }
Property Value
- Guid
- Data transfer object representing a forum message within a topic.
CreatedByUserName
Gets or sets the full name of the user who created the message.
public string CreatedByUserName { get; set; }
Property Value
- string
- Data transfer object representing a forum message within a topic.
DeletedAtUtc
Gets or sets the UTC timestamp when the message was deleted (null if not deleted).
public DateTime? DeletedAtUtc { get; set; }
Property Value
- DateTime?
- Data transfer object representing a forum message within a topic.
DeletedByUserName
Gets or sets the full name of the user who deleted the message (null if not deleted).
public string? DeletedByUserName { get; set; }
Property Value
- string
- Data transfer object representing a forum message within a topic.
Id
Gets or sets the unique identifier of the message.
public Guid Id { get; set; }
Property Value
- Guid
- Data transfer object representing a forum message within a topic.
IsDeleted
Gets or sets a value indicating whether this message has been soft-deleted.
public bool IsDeleted { get; set; }
Property Value
- bool
- Data transfer object representing a forum message within a topic.
Remarks
Deleted messages are only visible to users with elevated permissions (Admin, Moderator, TeamMember). Regular users never see deleted messages.
TopicId
Gets or sets the unique identifier of the topic this message belongs to.
public Guid TopicId { get; set; }
Property Value
- Guid
- Data transfer object representing a forum message within a topic.
UpdatedAtUtc
Gets or sets the UTC timestamp when the message was last updated (null if never updated).
public DateTime? UpdatedAtUtc { get; set; }
Property Value
- DateTime?
- Data transfer object representing a forum message within a topic.