Class PostDetailDto


  • public class PostDetailDto
    extends java.lang.Object
    게시글 상세 데이터 전송 객체. 내부에서 데이터 이동시 사용된다.
    Version:
    1.0
    Author:
    always0ne
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String body
      게시글 본문.
      private java.util.List<CommentResource> comments
      댓글들.
      private java.time.LocalDateTime createdDate
      작성일.
      private java.time.LocalDateTime modifiedDate
      수정일.
      private java.lang.String title
      게시글 제목.
      private java.lang.Long views
      조회수.
      private java.lang.String writerId
      작성자 ID.
    • Constructor Summary

      Constructors 
      Constructor Description
      PostDetailDto​(Post post)
      Post to PostDetail Dto.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • title

        private java.lang.String title
        게시글 제목.
      • writerId

        private java.lang.String writerId
        작성자 ID.
      • body

        private java.lang.String body
        게시글 본문.
      • views

        private java.lang.Long views
        조회수.
      • createdDate

        private java.time.LocalDateTime createdDate
        작성일.
      • modifiedDate

        private java.time.LocalDateTime modifiedDate
        수정일.
    • Constructor Detail

      • PostDetailDto

        public PostDetailDto​(Post post)
        Post to PostDetail Dto.
        Parameters:
        post - 게시글