{"action":"created","comment":{"url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/pulls/comments/200921300","pull_request_review_id":135321070,"id":200921300,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDkyMTMwMA==","diff_hunk":"@@ -0,0 +1,67 @@\n+package codesquad.domain;\n+\n+import codesquad.util.DateUtil;\n+\n+import javax.persistence.*;\n+import java.util.Date;\n+\n+@Entity\n+public class Question {\n+\n+    @Id\n+    @GeneratedValue(strategy = GenerationType.IDENTITY) // 새 data 추가시 id 가 자동으로 증가\n+    private Long id;\n+\n+    @Column(updatable = false, length = 30)\n+    private String writer;\n+    private String title;\n+    private String contents;\n+    private String date;\n+\n+    public Question() {\n+        date = DateUtil.getFormattedDate(new Date(), \"yyyy-MM-dd HH:mm\");\n+    }\n+\n+    public String getDate() {\n+        return date;\n+    }\n+\n+    public Long getId() {\n+        return id;\n+    }\n+\n+    public void setId(Long id) {\n+        this.id = id;\n+    }\n+\n+    public String getWriter() {\n+        return writer;\n+    }\n+\n+    public void setWriter(String writer) {\n+        this.writer = writer;\n+    }\n+\n+    public String getTitle() {\n+        return title;\n+    }\n+\n+    public void setTitle(String title) {\n+        this.title = title;\n+    }\n+\n+    public String getContents() {\n+        return contents;\n+    }\n+\n+    public void setContents(String contents) {\n+        this.contents = contents;\n+    }\n+\n+    public void updateQuestion(Question updateQuestion) {\n+        if (!getWriter().equals(updateQuestion.getWriter()))","path":"src/main/java/codesquad/domain/Question.java","position":62,"original_position":62,"commit_id":"e9267e2a421ab5f3de75a6527c7ca4091034f5dc","original_commit_id":"e9267e2a421ab5f3de75a6527c7ca4091034f5dc","user":{"login":"javajigi","id":520500,"node_id":"MDQ6VXNlcjUyMDUwMA==","avatar_url":"https://avatars2.githubusercontent.com/u/520500?v=4","gravatar_id":"","url":"https://api.github.com/users/javajigi","html_url":"https://github.com/javajigi","followers_url":"https://api.github.com/users/javajigi/followers","following_url":"https://api.github.com/users/javajigi/following{/other_user}","gists_url":"https://api.github.com/users/javajigi/gists{/gist_id}","starred_url":"https://api.github.com/users/javajigi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javajigi/subscriptions","organizations_url":"https://api.github.com/users/javajigi/orgs","repos_url":"https://api.github.com/users/javajigi/repos","events_url":"https://api.github.com/users/javajigi/events{/privacy}","received_events_url":"https://api.github.com/users/javajigi/received_events","type":"User","site_admin":false},"body":"if( !updateQuestion.isOwner(writer))","created_at":"2018-07-09T08:33:10Z","updated_at":"2018-07-09T08:38:41Z","html_url":"https://github.com/wwh-techcamp-2018/java-qna/pull/22#discussion_r200921300","pull_request_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/pulls/22","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/pulls/comments/200921300"},"html":{"href":"https://github.com/wwh-techcamp-2018/java-qna/pull/22#discussion_r200921300"},"pull_request":{"href":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/pulls/22","id":200023647,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwMDIzNjQ3","html_url":"https://github.com/wwh-techcamp-2018/java-qna/pull/22","diff_url":"https://github.com/wwh-techcamp-2018/java-qna/pull/22.diff","patch_url":"https://github.com/wwh-techcamp-2018/java-qna/pull/22.patch","issue_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/issues/22","number":22,"state":"open","locked":false,"title":"[Team3_pair1] step2 마무리 하였습니다.","user":{"login":"JunsuLime","id":17852124,"node_id":"MDQ6VXNlcjE3ODUyMTI0","avatar_url":"https://avatars1.githubusercontent.com/u/17852124?v=4","gravatar_id":"","url":"https://api.github.com/users/JunsuLime","html_url":"https://github.com/JunsuLime","followers_url":"https://api.github.com/users/JunsuLime/followers","following_url":"https://api.github.com/users/JunsuLime/following{/other_user}","gists_url":"https://api.github.com/users/JunsuLime/gists{/gist_id}","starred_url":"https://api.github.com/users/JunsuLime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JunsuLime/subscriptions","organizations_url":"https://api.github.com/users/JunsuLime/orgs","repos_url":"https://api.github.com/users/JunsuLime/repos","events_url":"https://api.github.com/users/JunsuLime/events{/privacy}","received_events_url":"https://api.github.com/users/JunsuLime/received_events","type":"User","site_admin":false},"body":"finish","created_at":"2018-07-09T08:19:47Z","updated_at":"2018-07-09T08:38:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8279818965face67ef67e4d6af121457e191788a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/pulls/22/commits","review_comments_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/pulls/22/comments","review_comment_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/issues/22/comments","statuses_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/statuses/e9267e2a421ab5f3de75a6527c7ca4091034f5dc","head":{"label":"JunsuLime:step2","ref":"step2","sha":"e9267e2a421ab5f3de75a6527c7ca4091034f5dc","user":{"login":"JunsuLime","id":17852124,"node_id":"MDQ6VXNlcjE3ODUyMTI0","avatar_url":"https://avatars1.githubusercontent.com/u/17852124?v=4","gravatar_id":"","url":"https://api.github.com/users/JunsuLime","html_url":"https://github.com/JunsuLime","followers_url":"https://api.github.com/users/JunsuLime/followers","following_url":"https://api.github.com/users/JunsuLime/following{/other_user}","gists_url":"https://api.github.com/users/JunsuLime/gists{/gist_id}","starred_url":"https://api.github.com/users/JunsuLime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JunsuLime/subscriptions","organizations_url":"https://api.github.com/users/JunsuLime/orgs","repos_url":"https://api.github.com/users/JunsuLime/repos","events_url":"https://api.github.com/users/JunsuLime/events{/privacy}","received_events_url":"https://api.github.com/users/JunsuLime/received_events","type":"User","site_admin":false},"repo":{"id":139940839,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk5NDA4Mzk=","name":"java-qna-1","full_name":"JunsuLime/java-qna-1","owner":{"login":"JunsuLime","id":17852124,"node_id":"MDQ6VXNlcjE3ODUyMTI0","avatar_url":"https://avatars1.githubusercontent.com/u/17852124?v=4","gravatar_id":"","url":"https://api.github.com/users/JunsuLime","html_url":"https://github.com/JunsuLime","followers_url":"https://api.github.com/users/JunsuLime/followers","following_url":"https://api.github.com/users/JunsuLime/following{/other_user}","gists_url":"https://api.github.com/users/JunsuLime/gists{/gist_id}","starred_url":"https://api.github.com/users/JunsuLime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JunsuLime/subscriptions","organizations_url":"https://api.github.com/users/JunsuLime/orgs","repos_url":"https://api.github.com/users/JunsuLime/repos","events_url":"https://api.github.com/users/JunsuLime/events{/privacy}","received_events_url":"https://api.github.com/users/JunsuLime/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JunsuLime/java-qna-1","description":"질문 답변 게시판 미션을 위한 저장소","fork":true,"url":"https://api.github.com/repos/JunsuLime/java-qna-1","forks_url":"https://api.github.com/repos/JunsuLime/java-qna-1/forks","keys_url":"https://api.github.com/repos/JunsuLime/java-qna-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JunsuLime/java-qna-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JunsuLime/java-qna-1/teams","hooks_url":"https://api.github.com/repos/JunsuLime/java-qna-1/hooks","issue_events_url":"https://api.github.com/repos/JunsuLime/java-qna-1/issues/events{/number}","events_url":"https://api.github.com/repos/JunsuLime/java-qna-1/events","assignees_url":"https://api.github.com/repos/JunsuLime/java-qna-1/assignees{/user}","branches_url":"https://api.github.com/repos/JunsuLime/java-qna-1/branches{/branch}","tags_url":"https://api.github.com/repos/JunsuLime/java-qna-1/tags","blobs_url":"https://api.github.com/repos/JunsuLime/java-qna-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JunsuLime/java-qna-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JunsuLime/java-qna-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/JunsuLime/java-qna-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JunsuLime/java-qna-1/statuses/{sha}","languages_url":"https://api.github.com/repos/JunsuLime/java-qna-1/languages","stargazers_url":"https://api.github.com/repos/JunsuLime/java-qna-1/stargazers","contributors_url":"https://api.github.com/repos/JunsuLime/java-qna-1/contributors","subscribers_url":"https://api.github.com/repos/JunsuLime/java-qna-1/subscribers","subscription_url":"https://api.github.com/repos/JunsuLime/java-qna-1/subscription","commits_url":"https://api.github.com/repos/JunsuLime/java-qna-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/JunsuLime/java-qna-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/JunsuLime/java-qna-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/JunsuLime/java-qna-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/JunsuLime/java-qna-1/contents/{+path}","compare_url":"https://api.github.com/repos/JunsuLime/java-qna-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JunsuLime/java-qna-1/merges","archive_url":"https://api.github.com/repos/JunsuLime/java-qna-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JunsuLime/java-qna-1/downloads","issues_url":"https://api.github.com/repos/JunsuLime/java-qna-1/issues{/number}","pulls_url":"https://api.github.com/repos/JunsuLime/java-qna-1/pulls{/number}","milestones_url":"https://api.github.com/repos/JunsuLime/java-qna-1/milestones{/number}","notifications_url":"https://api.github.com/repos/JunsuLime/java-qna-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JunsuLime/java-qna-1/labels{/name}","releases_url":"https://api.github.com/repos/JunsuLime/java-qna-1/releases{/id}","deployments_url":"https://api.github.com/repos/JunsuLime/java-qna-1/deployments","created_at":"2018-07-06T06:10:45Z","updated_at":"2018-07-06T06:10:48Z","pushed_at":"2018-07-09T08:26:28Z","git_url":"git://github.com/JunsuLime/java-qna-1.git","ssh_url":"git@github.com:JunsuLime/java-qna-1.git","clone_url":"https://github.com/JunsuLime/java-qna-1.git","svn_url":"https://github.com/JunsuLime/java-qna-1","homepage":null,"size":289,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wwh-techcamp-2018:team3_pair1","ref":"team3_pair1","sha":"f53d7a13c01eb0db76aabf8225de528f1d2752e7","user":{"login":"wwh-techcamp-2018","id":40353008,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMzUzMDA4","avatar_url":"https://avatars1.githubusercontent.com/u/40353008?v=4","gravatar_id":"","url":"https://api.github.com/users/wwh-techcamp-2018","html_url":"https://github.com/wwh-techcamp-2018","followers_url":"https://api.github.com/users/wwh-techcamp-2018/followers","following_url":"https://api.github.com/users/wwh-techcamp-2018/following{/other_user}","gists_url":"https://api.github.com/users/wwh-techcamp-2018/gists{/gist_id}","starred_url":"https://api.github.com/users/wwh-techcamp-2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwh-techcamp-2018/subscriptions","organizations_url":"https://api.github.com/users/wwh-techcamp-2018/orgs","repos_url":"https://api.github.com/users/wwh-techcamp-2018/repos","events_url":"https://api.github.com/users/wwh-techcamp-2018/events{/privacy}","received_events_url":"https://api.github.com/users/wwh-techcamp-2018/received_events","type":"Organization","site_admin":false},"repo":{"id":137731251,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc3MzEyNTE=","name":"java-qna","full_name":"wwh-techcamp-2018/java-qna","owner":{"login":"wwh-techcamp-2018","id":40353008,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMzUzMDA4","avatar_url":"https://avatars1.githubusercontent.com/u/40353008?v=4","gravatar_id":"","url":"https://api.github.com/users/wwh-techcamp-2018","html_url":"https://github.com/wwh-techcamp-2018","followers_url":"https://api.github.com/users/wwh-techcamp-2018/followers","following_url":"https://api.github.com/users/wwh-techcamp-2018/following{/other_user}","gists_url":"https://api.github.com/users/wwh-techcamp-2018/gists{/gist_id}","starred_url":"https://api.github.com/users/wwh-techcamp-2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwh-techcamp-2018/subscriptions","organizations_url":"https://api.github.com/users/wwh-techcamp-2018/orgs","repos_url":"https://api.github.com/users/wwh-techcamp-2018/repos","events_url":"https://api.github.com/users/wwh-techcamp-2018/events{/privacy}","received_events_url":"https://api.github.com/users/wwh-techcamp-2018/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wwh-techcamp-2018/java-qna","description":"질문 답변 게시판 미션을 위한 저장소","fork":false,"url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna","forks_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/forks","keys_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/teams","hooks_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/hooks","issue_events_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/issues/events{/number}","events_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/events","assignees_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/assignees{/user}","branches_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/branches{/branch}","tags_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/tags","blobs_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/git/refs{/sha}","trees_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/statuses/{sha}","languages_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/languages","stargazers_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/stargazers","contributors_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/contributors","subscribers_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/subscribers","subscription_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/subscription","commits_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/commits{/sha}","git_commits_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/git/commits{/sha}","comments_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/comments{/number}","issue_comment_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/issues/comments{/number}","contents_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/contents/{+path}","compare_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/merges","archive_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/downloads","issues_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/issues{/number}","pulls_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/pulls{/number}","milestones_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/milestones{/number}","notifications_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/labels{/name}","releases_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/releases{/id}","deployments_url":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/deployments","created_at":"2018-06-18T09:09:35Z","updated_at":"2018-07-05T12:28:53Z","pushed_at":"2018-07-09T08:38:24Z","git_url":"git://github.com/wwh-techcamp-2018/java-qna.git","ssh_url":"git@github.com:wwh-techcamp-2018/java-qna.git","clone_url":"https://github.com/wwh-techcamp-2018/java-qna.git","svn_url":"https://github.com/wwh-techcamp-2018/java-qna","homepage":null,"size":326,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":14,"license":null,"forks":27,"open_issues":14,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/pulls/22"},"html":{"href":"https://github.com/wwh-techcamp-2018/java-qna/pull/22"},"issue":{"href":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/issues/22"},"comments":{"href":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/wwh-techcamp-2018/java-qna/statuses/e9267e2a421ab5f3de75a6527c7ca4091034f5dc"}},"author_association":"NONE"}}
{"actor":{"display_login":"javajigi"}}