Class Comment


  • @Entity
    public class Comment
    extends Date
    댓글 엔터티.
    Version:
    1.0
    Author:
    always0ne
    • Constructor Summary

      Constructors 
      Constructor Description
      Comment​(Users author, java.lang.String message)
      댓글.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void updateComment​(java.lang.String message)
      댓글 수정.
      • 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
        pk.
      • message

        private java.lang.String message
        댓글.
      • author

        private Users author
        댓글 작성자.
    • Constructor Detail

      • Comment

        public Comment​(Users author,
                       java.lang.String message)
        댓글.
        Parameters:
        author - 댓글 작성자
        message - 댓글 본문
    • Method Detail

      • updateComment

        public void updateComment​(java.lang.String message)
        댓글 수정.
        Parameters:
        message - 수정할 메시지