{"action":"created","comment":{"url":"https://api.github.com/repos/ncedu-tlt/social-network/pulls/comments/192021568","pull_request_review_id":124709201,"id":192021568,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MjAyMTU2OA==","diff_hunk":"@@ -0,0 +1,99 @@\n+package ru.ncedu.socialnetwork.domain;\n+\n+import javax.persistence.*;\n+import java.util.Collection;\n+import java.util.Date;\n+\n+@Entity\n+@Table(name = \"chats\")\n+public class ChatDAO {\n+    @Id\n+    private int id;\n+\n+    @Column\n+    private String avatar;\n+\n+    @Column(nullable = false, unique = true)\n+    private String name;\n+\n+    @ElementCollection\n+    private Collection<MessageDAO> messages;\n+\n+    @Column(nullable = false)\n+    private Date dateMsg;\n+\n+    @ElementCollection\n+    private Collection<Integer> participantsId;","path":"src/main/java/ru/ncedu/socialnetwork/domain/ChatDAO.java","position":26,"original_position":26,"commit_id":"facfb3b74132913c640326a8b15c096ee388caee","original_commit_id":"facfb3b74132913c640326a8b15c096ee388caee","user":{"login":"ocassio","id":6851647,"node_id":"MDQ6VXNlcjY4NTE2NDc=","avatar_url":"https://avatars1.githubusercontent.com/u/6851647?v=4","gravatar_id":"","url":"https://api.github.com/users/ocassio","html_url":"https://github.com/ocassio","followers_url":"https://api.github.com/users/ocassio/followers","following_url":"https://api.github.com/users/ocassio/following{/other_user}","gists_url":"https://api.github.com/users/ocassio/gists{/gist_id}","starred_url":"https://api.github.com/users/ocassio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocassio/subscriptions","organizations_url":"https://api.github.com/users/ocassio/orgs","repos_url":"https://api.github.com/users/ocassio/repos","events_url":"https://api.github.com/users/ocassio/events{/privacy}","received_events_url":"https://api.github.com/users/ocassio/received_events","type":"User","site_admin":false},"body":"Тут полноценная связь нужна.","created_at":"2018-05-31T08:19:36Z","updated_at":"2018-05-31T08:48:04Z","html_url":"https://github.com/ncedu-tlt/social-network/pull/52#discussion_r192021568","pull_request_url":"https://api.github.com/repos/ncedu-tlt/social-network/pulls/52","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ncedu-tlt/social-network/pulls/comments/192021568"},"html":{"href":"https://github.com/ncedu-tlt/social-network/pull/52#discussion_r192021568"},"pull_request":{"href":"https://api.github.com/repos/ncedu-tlt/social-network/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/ncedu-tlt/social-network/pulls/52","id":191579816,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxNTc5ODE2","html_url":"https://github.com/ncedu-tlt/social-network/pull/52","diff_url":"https://github.com/ncedu-tlt/social-network/pull/52.diff","patch_url":"https://github.com/ncedu-tlt/social-network/pull/52.patch","issue_url":"https://api.github.com/repos/ncedu-tlt/social-network/issues/52","number":52,"state":"open","locked":false,"title":"45 chatlist server logic","user":{"login":"Tadoma","id":8876801,"node_id":"MDQ6VXNlcjg4NzY4MDE=","avatar_url":"https://avatars3.githubusercontent.com/u/8876801?v=4","gravatar_id":"","url":"https://api.github.com/users/Tadoma","html_url":"https://github.com/Tadoma","followers_url":"https://api.github.com/users/Tadoma/followers","following_url":"https://api.github.com/users/Tadoma/following{/other_user}","gists_url":"https://api.github.com/users/Tadoma/gists{/gist_id}","starred_url":"https://api.github.com/users/Tadoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tadoma/subscriptions","organizations_url":"https://api.github.com/users/Tadoma/orgs","repos_url":"https://api.github.com/users/Tadoma/repos","events_url":"https://api.github.com/users/Tadoma/events{/privacy}","received_events_url":"https://api.github.com/users/Tadoma/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-30T21:01:55Z","updated_at":"2018-05-31T08:48:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a6c5472a1b9379632e3ff330e09662a2cefc9558","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ncedu-tlt/social-network/pulls/52/commits","review_comments_url":"https://api.github.com/repos/ncedu-tlt/social-network/pulls/52/comments","review_comment_url":"https://api.github.com/repos/ncedu-tlt/social-network/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ncedu-tlt/social-network/issues/52/comments","statuses_url":"https://api.github.com/repos/ncedu-tlt/social-network/statuses/facfb3b74132913c640326a8b15c096ee388caee","head":{"label":"ncedu-tlt:45-feature-chatlist-server-logic","ref":"45-feature-chatlist-server-logic","sha":"facfb3b74132913c640326a8b15c096ee388caee","user":{"login":"ncedu-tlt","id":16236844,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjM2ODQ0","avatar_url":"https://avatars2.githubusercontent.com/u/16236844?v=4","gravatar_id":"","url":"https://api.github.com/users/ncedu-tlt","html_url":"https://github.com/ncedu-tlt","followers_url":"https://api.github.com/users/ncedu-tlt/followers","following_url":"https://api.github.com/users/ncedu-tlt/following{/other_user}","gists_url":"https://api.github.com/users/ncedu-tlt/gists{/gist_id}","starred_url":"https://api.github.com/users/ncedu-tlt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncedu-tlt/subscriptions","organizations_url":"https://api.github.com/users/ncedu-tlt/orgs","repos_url":"https://api.github.com/users/ncedu-tlt/repos","events_url":"https://api.github.com/users/ncedu-tlt/events{/privacy}","received_events_url":"https://api.github.com/users/ncedu-tlt/received_events","type":"Organization","site_admin":false},"repo":{"id":122637666,"node_id":"MDEwOlJlcG9zaXRvcnkxMjI2Mzc2NjY=","name":"social-network","full_name":"ncedu-tlt/social-network","owner":{"login":"ncedu-tlt","id":16236844,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjM2ODQ0","avatar_url":"https://avatars2.githubusercontent.com/u/16236844?v=4","gravatar_id":"","url":"https://api.github.com/users/ncedu-tlt","html_url":"https://github.com/ncedu-tlt","followers_url":"https://api.github.com/users/ncedu-tlt/followers","following_url":"https://api.github.com/users/ncedu-tlt/following{/other_user}","gists_url":"https://api.github.com/users/ncedu-tlt/gists{/gist_id}","starred_url":"https://api.github.com/users/ncedu-tlt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncedu-tlt/subscriptions","organizations_url":"https://api.github.com/users/ncedu-tlt/orgs","repos_url":"https://api.github.com/users/ncedu-tlt/repos","events_url":"https://api.github.com/users/ncedu-tlt/events{/privacy}","received_events_url":"https://api.github.com/users/ncedu-tlt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ncedu-tlt/social-network","description":"Social network for developers","fork":false,"url":"https://api.github.com/repos/ncedu-tlt/social-network","forks_url":"https://api.github.com/repos/ncedu-tlt/social-network/forks","keys_url":"https://api.github.com/repos/ncedu-tlt/social-network/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ncedu-tlt/social-network/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ncedu-tlt/social-network/teams","hooks_url":"https://api.github.com/repos/ncedu-tlt/social-network/hooks","issue_events_url":"https://api.github.com/repos/ncedu-tlt/social-network/issues/events{/number}","events_url":"https://api.github.com/repos/ncedu-tlt/social-network/events","assignees_url":"https://api.github.com/repos/ncedu-tlt/social-network/assignees{/user}","branches_url":"https://api.github.com/repos/ncedu-tlt/social-network/branches{/branch}","tags_url":"https://api.github.com/repos/ncedu-tlt/social-network/tags","blobs_url":"https://api.github.com/repos/ncedu-tlt/social-network/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ncedu-tlt/social-network/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ncedu-tlt/social-network/git/refs{/sha}","trees_url":"https://api.github.com/repos/ncedu-tlt/social-network/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ncedu-tlt/social-network/statuses/{sha}","languages_url":"https://api.github.com/repos/ncedu-tlt/social-network/languages","stargazers_url":"https://api.github.com/repos/ncedu-tlt/social-network/stargazers","contributors_url":"https://api.github.com/repos/ncedu-tlt/social-network/contributors","subscribers_url":"https://api.github.com/repos/ncedu-tlt/social-network/subscribers","subscription_url":"https://api.github.com/repos/ncedu-tlt/social-network/subscription","commits_url":"https://api.github.com/repos/ncedu-tlt/social-network/commits{/sha}","git_commits_url":"https://api.github.com/repos/ncedu-tlt/social-network/git/commits{/sha}","comments_url":"https://api.github.com/repos/ncedu-tlt/social-network/comments{/number}","issue_comment_url":"https://api.github.com/repos/ncedu-tlt/social-network/issues/comments{/number}","contents_url":"https://api.github.com/repos/ncedu-tlt/social-network/contents/{+path}","compare_url":"https://api.github.com/repos/ncedu-tlt/social-network/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ncedu-tlt/social-network/merges","archive_url":"https://api.github.com/repos/ncedu-tlt/social-network/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ncedu-tlt/social-network/downloads","issues_url":"https://api.github.com/repos/ncedu-tlt/social-network/issues{/number}","pulls_url":"https://api.github.com/repos/ncedu-tlt/social-network/pulls{/number}","milestones_url":"https://api.github.com/repos/ncedu-tlt/social-network/milestones{/number}","notifications_url":"https://api.github.com/repos/ncedu-tlt/social-network/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ncedu-tlt/social-network/labels{/name}","releases_url":"https://api.github.com/repos/ncedu-tlt/social-network/releases{/id}","deployments_url":"https://api.github.com/repos/ncedu-tlt/social-network/deployments","created_at":"2018-02-23T15:21:13Z","updated_at":"2018-05-30T19:17:08Z","pushed_at":"2018-05-30T21:01:56Z","git_url":"git://github.com/ncedu-tlt/social-network.git","ssh_url":"git@github.com:ncedu-tlt/social-network.git","clone_url":"https://github.com/ncedu-tlt/social-network.git","svn_url":"https://github.com/ncedu-tlt/social-network","homepage":"https://ncedu-social-network.herokuapp.com","size":2982,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"ncedu-tlt:master","ref":"master","sha":"481df83fa39cf9de30414239a0b81fe0f15432d3","user":{"login":"ncedu-tlt","id":16236844,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjM2ODQ0","avatar_url":"https://avatars2.githubusercontent.com/u/16236844?v=4","gravatar_id":"","url":"https://api.github.com/users/ncedu-tlt","html_url":"https://github.com/ncedu-tlt","followers_url":"https://api.github.com/users/ncedu-tlt/followers","following_url":"https://api.github.com/users/ncedu-tlt/following{/other_user}","gists_url":"https://api.github.com/users/ncedu-tlt/gists{/gist_id}","starred_url":"https://api.github.com/users/ncedu-tlt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncedu-tlt/subscriptions","organizations_url":"https://api.github.com/users/ncedu-tlt/orgs","repos_url":"https://api.github.com/users/ncedu-tlt/repos","events_url":"https://api.github.com/users/ncedu-tlt/events{/privacy}","received_events_url":"https://api.github.com/users/ncedu-tlt/received_events","type":"Organization","site_admin":false},"repo":{"id":122637666,"node_id":"MDEwOlJlcG9zaXRvcnkxMjI2Mzc2NjY=","name":"social-network","full_name":"ncedu-tlt/social-network","owner":{"login":"ncedu-tlt","id":16236844,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjM2ODQ0","avatar_url":"https://avatars2.githubusercontent.com/u/16236844?v=4","gravatar_id":"","url":"https://api.github.com/users/ncedu-tlt","html_url":"https://github.com/ncedu-tlt","followers_url":"https://api.github.com/users/ncedu-tlt/followers","following_url":"https://api.github.com/users/ncedu-tlt/following{/other_user}","gists_url":"https://api.github.com/users/ncedu-tlt/gists{/gist_id}","starred_url":"https://api.github.com/users/ncedu-tlt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncedu-tlt/subscriptions","organizations_url":"https://api.github.com/users/ncedu-tlt/orgs","repos_url":"https://api.github.com/users/ncedu-tlt/repos","events_url":"https://api.github.com/users/ncedu-tlt/events{/privacy}","received_events_url":"https://api.github.com/users/ncedu-tlt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ncedu-tlt/social-network","description":"Social network for developers","fork":false,"url":"https://api.github.com/repos/ncedu-tlt/social-network","forks_url":"https://api.github.com/repos/ncedu-tlt/social-network/forks","keys_url":"https://api.github.com/repos/ncedu-tlt/social-network/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ncedu-tlt/social-network/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ncedu-tlt/social-network/teams","hooks_url":"https://api.github.com/repos/ncedu-tlt/social-network/hooks","issue_events_url":"https://api.github.com/repos/ncedu-tlt/social-network/issues/events{/number}","events_url":"https://api.github.com/repos/ncedu-tlt/social-network/events","assignees_url":"https://api.github.com/repos/ncedu-tlt/social-network/assignees{/user}","branches_url":"https://api.github.com/repos/ncedu-tlt/social-network/branches{/branch}","tags_url":"https://api.github.com/repos/ncedu-tlt/social-network/tags","blobs_url":"https://api.github.com/repos/ncedu-tlt/social-network/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ncedu-tlt/social-network/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ncedu-tlt/social-network/git/refs{/sha}","trees_url":"https://api.github.com/repos/ncedu-tlt/social-network/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ncedu-tlt/social-network/statuses/{sha}","languages_url":"https://api.github.com/repos/ncedu-tlt/social-network/languages","stargazers_url":"https://api.github.com/repos/ncedu-tlt/social-network/stargazers","contributors_url":"https://api.github.com/repos/ncedu-tlt/social-network/contributors","subscribers_url":"https://api.github.com/repos/ncedu-tlt/social-network/subscribers","subscription_url":"https://api.github.com/repos/ncedu-tlt/social-network/subscription","commits_url":"https://api.github.com/repos/ncedu-tlt/social-network/commits{/sha}","git_commits_url":"https://api.github.com/repos/ncedu-tlt/social-network/git/commits{/sha}","comments_url":"https://api.github.com/repos/ncedu-tlt/social-network/comments{/number}","issue_comment_url":"https://api.github.com/repos/ncedu-tlt/social-network/issues/comments{/number}","contents_url":"https://api.github.com/repos/ncedu-tlt/social-network/contents/{+path}","compare_url":"https://api.github.com/repos/ncedu-tlt/social-network/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ncedu-tlt/social-network/merges","archive_url":"https://api.github.com/repos/ncedu-tlt/social-network/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ncedu-tlt/social-network/downloads","issues_url":"https://api.github.com/repos/ncedu-tlt/social-network/issues{/number}","pulls_url":"https://api.github.com/repos/ncedu-tlt/social-network/pulls{/number}","milestones_url":"https://api.github.com/repos/ncedu-tlt/social-network/milestones{/number}","notifications_url":"https://api.github.com/repos/ncedu-tlt/social-network/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ncedu-tlt/social-network/labels{/name}","releases_url":"https://api.github.com/repos/ncedu-tlt/social-network/releases{/id}","deployments_url":"https://api.github.com/repos/ncedu-tlt/social-network/deployments","created_at":"2018-02-23T15:21:13Z","updated_at":"2018-05-30T19:17:08Z","pushed_at":"2018-05-30T21:01:56Z","git_url":"git://github.com/ncedu-tlt/social-network.git","ssh_url":"git@github.com:ncedu-tlt/social-network.git","clone_url":"https://github.com/ncedu-tlt/social-network.git","svn_url":"https://github.com/ncedu-tlt/social-network","homepage":"https://ncedu-social-network.herokuapp.com","size":2982,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ncedu-tlt/social-network/pulls/52"},"html":{"href":"https://github.com/ncedu-tlt/social-network/pull/52"},"issue":{"href":"https://api.github.com/repos/ncedu-tlt/social-network/issues/52"},"comments":{"href":"https://api.github.com/repos/ncedu-tlt/social-network/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/ncedu-tlt/social-network/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/ncedu-tlt/social-network/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ncedu-tlt/social-network/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/ncedu-tlt/social-network/statuses/facfb3b74132913c640326a8b15c096ee388caee"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ocassio"}}