public CommentDto(PostComment postComment, JodaDateTimeTool dateTimeTool) { this.id = postComment.getId(); this.authorUsername = postComment.getAuthor().getUsername(); this.body = postComment.getBody(); this.formattedCreationDate = dateTimeTool.format(postComment.getCreationDate()); this.authorId = postComment.getAuthor().getId(); }