MemberPulse
EntitiesCore

Content Comment

Member comment on community content

Member comment on community content

Represents member comments on generated content.

Fields

Core Fields

FieldTypeRequiredDescription
idUUIDAutoPrimary key
contentIdUUIDYesFK to GeneratedContent
memberIdUUIDYesFK to Member
bodytextYesComment text (markdown)
parentCommentIdUUIDNoFK for replies

Engagement

FieldTypeRequiredDescription
reactionCountintegerAutoReactions on comment
replyCountintegerAutoReply count

Moderation

FieldTypeRequiredDescription
statusenumYesactive, hidden, deleted
hiddenByUUIDNoAdmin who hid
hiddenReasonstringNoReason for hiding

System Fields

FieldTypeRequiredDescription
createdAtdatetimeAutoCreation timestamp
updatedAtdatetimeAutoLast edit
editedAtdatetimeNoIf edited by member

Relationships

RelationTypeTarget Entity
contentManyToOneGeneratedContent
memberManyToOneMember
parentManyToOneContentComment (self)
repliesOneToManyContentComment (self)
reactionsOneToManyCommentReaction

Business Rules

  • Members can edit own comments within 15 minutes
  • Deleted comments show "[deleted]" but preserve thread
  • Replies notify parent comment author
  • Hidden comments visible to admins only

Features

Content Comment

Acceptance Criteria

Frontend
  • Admin/client UI can view and manage Content Comment records where applicable.
Backend / API
  • CRUD operations exist for Content Comment (create, read, update, delete/archive).
Permissions
  • Access is restricted to appropriate roles (tenant-scoped).
Business Rules
  • Fields and relationships documented on this page are enforced for Content Comment.
Error Handling
  • Invalid payloads return field-level validation errors.

On this page