Class CommentDto


  • public class CommentDto
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String commenterId  
      private java.lang.Long commentId  
      private java.time.LocalDateTime createdDate  
      private java.lang.String message  
      private java.time.LocalDateTime modifiedDate  
    • Constructor Summary

      Constructors 
      Constructor Description
      CommentDto​(Comment comment)
      Comment to Dto.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • commentId

        private java.lang.Long commentId
      • message

        private java.lang.String message
      • commenterId

        private java.lang.String commenterId
      • createdDate

        private java.time.LocalDateTime createdDate
      • modifiedDate

        private java.time.LocalDateTime modifiedDate
    • Constructor Detail

      • CommentDto

        public CommentDto​(Comment comment)
        Comment to Dto.
        Parameters:
        comment - 댓글