package comment import ( "time" ) // CommentShortResponse - краткий ответ для комментария type CommentShortResponse struct { ID uint `json:"id"` CreatedAt time.Time `json:"created_at"` OwnerID uint `json:"owner_id"` OwnerName string `json:"owner_name,omitempty"` Text string `json:"text"` } // CreateCommentRequest - DTO для создания комментария type CreateCommentRequest struct { FeedbackID uint `json:"feedback_id" binding:"required"` Text string `json:"text" binding:"required"` } // UpdateCommentRequest - DTO для обновления комментария type UpdateCommentRequest struct { Text *string `json:"text" binding:"required"` }