Files
social-media/backend/src/Socialize.Api/Modules/Comments/Data/Comment.cs

21 lines
816 B
C#

namespace Socialize.Api.Modules.Comments.Data;
internal class Comment
{
public Guid Id { get; init; }
public Guid WorkspaceId { get; set; }
public Guid ContentItemId { get; set; }
public Guid? ParentCommentId { get; set; }
public Guid AuthorUserId { get; set; }
public required string AuthorDisplayName { get; set; }
public required string AuthorEmail { get; set; }
public required string Body { get; set; }
public string? AttachmentFileName { get; set; }
public string? AttachmentContentType { get; set; }
public long? AttachmentSizeBytes { get; set; }
public string? AttachmentBlobContainerName { get; set; }
public string? AttachmentBlobName { get; set; }
public string? AttachmentBlobUrl { get; set; }
public DateTimeOffset CreatedAt { get; init; }
}