{"action":"created","comment":{"url":"https://api.github.com/repos/mirza1995/restaurant/pulls/comments/194322057","pull_request_review_id":127463472,"id":194322057,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDMyMjA1Nw==","diff_hunk":"@@ -0,0 +1,30 @@\n+package models;\n+\n+import javax.persistence.*;\n+\n+@Entity\n+@Table(name = \"photos\")\n+public class Photo {\n+    @Id\n+    @GeneratedValue\n+    @Column(name=\"id\")\n+    private int id;\n+\n+    @JoinColumn(name=\"restaurant_id\")\n+    @ManyToOne\n+    private Restaurant restaurant;\n+    @Column(name=\"url\")\n+    private String url;\n+\n+    public int getId() {\n+        return id;\n+    }\n+\n+    public Restaurant getRestaurant() {\n+        return restaurant;\n+    }\n+\n+    public String getUrl() {\n+        return url;\n+    }","path":"back-end/app/models/Photo.java","position":29,"original_position":29,"commit_id":"0397cefa77d34f2e14c2b06bd9beaf6c5fe53f54","original_commit_id":"0397cefa77d34f2e14c2b06bd9beaf6c5fe53f54","user":{"login":"ZaidABH","id":30071434,"node_id":"MDQ6VXNlcjMwMDcxNDM0","avatar_url":"https://avatars2.githubusercontent.com/u/30071434?v=4","gravatar_id":"","url":"https://api.github.com/users/ZaidABH","html_url":"https://github.com/ZaidABH","followers_url":"https://api.github.com/users/ZaidABH/followers","following_url":"https://api.github.com/users/ZaidABH/following{/other_user}","gists_url":"https://api.github.com/users/ZaidABH/gists{/gist_id}","starred_url":"https://api.github.com/users/ZaidABH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZaidABH/subscriptions","organizations_url":"https://api.github.com/users/ZaidABH/orgs","repos_url":"https://api.github.com/users/ZaidABH/repos","events_url":"https://api.github.com/users/ZaidABH/events{/privacy}","received_events_url":"https://api.github.com/users/ZaidABH/received_events","type":"User","site_admin":false},"body":"Remove getters and use Lombok.","created_at":"2018-06-11T08:14:06Z","updated_at":"2018-06-11T08:43:47Z","html_url":"https://github.com/mirza1995/restaurant/pull/21#discussion_r194322057","pull_request_url":"https://api.github.com/repos/mirza1995/restaurant/pulls/21","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/mirza1995/restaurant/pulls/comments/194322057"},"html":{"href":"https://github.com/mirza1995/restaurant/pull/21#discussion_r194322057"},"pull_request":{"href":"https://api.github.com/repos/mirza1995/restaurant/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/mirza1995/restaurant/pulls/21","id":193311104,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzMzExMTA0","html_url":"https://github.com/mirza1995/restaurant/pull/21","diff_url":"https://github.com/mirza1995/restaurant/pull/21.diff","patch_url":"https://github.com/mirza1995/restaurant/pull/21.patch","issue_url":"https://api.github.com/repos/mirza1995/restaurant/issues/21","number":21,"state":"open","locked":false,"title":"Data repopulation","user":{"login":"mirza1995","id":35375934,"node_id":"MDQ6VXNlcjM1Mzc1OTM0","avatar_url":"https://avatars1.githubusercontent.com/u/35375934?v=4","gravatar_id":"","url":"https://api.github.com/users/mirza1995","html_url":"https://github.com/mirza1995","followers_url":"https://api.github.com/users/mirza1995/followers","following_url":"https://api.github.com/users/mirza1995/following{/other_user}","gists_url":"https://api.github.com/users/mirza1995/gists{/gist_id}","starred_url":"https://api.github.com/users/mirza1995/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirza1995/subscriptions","organizations_url":"https://api.github.com/users/mirza1995/orgs","repos_url":"https://api.github.com/users/mirza1995/repos","events_url":"https://api.github.com/users/mirza1995/events{/privacy}","received_events_url":"https://api.github.com/users/mirza1995/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-07T12:54:07Z","updated_at":"2018-06-11T08:43:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b092ef3d141ed17812250d3a905e6258949a3e05","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mirza1995/restaurant/pulls/21/commits","review_comments_url":"https://api.github.com/repos/mirza1995/restaurant/pulls/21/comments","review_comment_url":"https://api.github.com/repos/mirza1995/restaurant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mirza1995/restaurant/issues/21/comments","statuses_url":"https://api.github.com/repos/mirza1995/restaurant/statuses/0397cefa77d34f2e14c2b06bd9beaf6c5fe53f54","head":{"label":"mirza1995:data-repopulation","ref":"data-repopulation","sha":"0397cefa77d34f2e14c2b06bd9beaf6c5fe53f54","user":{"login":"mirza1995","id":35375934,"node_id":"MDQ6VXNlcjM1Mzc1OTM0","avatar_url":"https://avatars1.githubusercontent.com/u/35375934?v=4","gravatar_id":"","url":"https://api.github.com/users/mirza1995","html_url":"https://github.com/mirza1995","followers_url":"https://api.github.com/users/mirza1995/followers","following_url":"https://api.github.com/users/mirza1995/following{/other_user}","gists_url":"https://api.github.com/users/mirza1995/gists{/gist_id}","starred_url":"https://api.github.com/users/mirza1995/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirza1995/subscriptions","organizations_url":"https://api.github.com/users/mirza1995/orgs","repos_url":"https://api.github.com/users/mirza1995/repos","events_url":"https://api.github.com/users/mirza1995/events{/privacy}","received_events_url":"https://api.github.com/users/mirza1995/received_events","type":"User","site_admin":false},"repo":{"id":133383179,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMzODMxNzk=","name":"restaurant","full_name":"mirza1995/restaurant","owner":{"login":"mirza1995","id":35375934,"node_id":"MDQ6VXNlcjM1Mzc1OTM0","avatar_url":"https://avatars1.githubusercontent.com/u/35375934?v=4","gravatar_id":"","url":"https://api.github.com/users/mirza1995","html_url":"https://github.com/mirza1995","followers_url":"https://api.github.com/users/mirza1995/followers","following_url":"https://api.github.com/users/mirza1995/following{/other_user}","gists_url":"https://api.github.com/users/mirza1995/gists{/gist_id}","starred_url":"https://api.github.com/users/mirza1995/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirza1995/subscriptions","organizations_url":"https://api.github.com/users/mirza1995/orgs","repos_url":"https://api.github.com/users/mirza1995/repos","events_url":"https://api.github.com/users/mirza1995/events{/privacy}","received_events_url":"https://api.github.com/users/mirza1995/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mirza1995/restaurant","description":"Resta","fork":false,"url":"https://api.github.com/repos/mirza1995/restaurant","forks_url":"https://api.github.com/repos/mirza1995/restaurant/forks","keys_url":"https://api.github.com/repos/mirza1995/restaurant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mirza1995/restaurant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mirza1995/restaurant/teams","hooks_url":"https://api.github.com/repos/mirza1995/restaurant/hooks","issue_events_url":"https://api.github.com/repos/mirza1995/restaurant/issues/events{/number}","events_url":"https://api.github.com/repos/mirza1995/restaurant/events","assignees_url":"https://api.github.com/repos/mirza1995/restaurant/assignees{/user}","branches_url":"https://api.github.com/repos/mirza1995/restaurant/branches{/branch}","tags_url":"https://api.github.com/repos/mirza1995/restaurant/tags","blobs_url":"https://api.github.com/repos/mirza1995/restaurant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mirza1995/restaurant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mirza1995/restaurant/git/refs{/sha}","trees_url":"https://api.github.com/repos/mirza1995/restaurant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mirza1995/restaurant/statuses/{sha}","languages_url":"https://api.github.com/repos/mirza1995/restaurant/languages","stargazers_url":"https://api.github.com/repos/mirza1995/restaurant/stargazers","contributors_url":"https://api.github.com/repos/mirza1995/restaurant/contributors","subscribers_url":"https://api.github.com/repos/mirza1995/restaurant/subscribers","subscription_url":"https://api.github.com/repos/mirza1995/restaurant/subscription","commits_url":"https://api.github.com/repos/mirza1995/restaurant/commits{/sha}","git_commits_url":"https://api.github.com/repos/mirza1995/restaurant/git/commits{/sha}","comments_url":"https://api.github.com/repos/mirza1995/restaurant/comments{/number}","issue_comment_url":"https://api.github.com/repos/mirza1995/restaurant/issues/comments{/number}","contents_url":"https://api.github.com/repos/mirza1995/restaurant/contents/{+path}","compare_url":"https://api.github.com/repos/mirza1995/restaurant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mirza1995/restaurant/merges","archive_url":"https://api.github.com/repos/mirza1995/restaurant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mirza1995/restaurant/downloads","issues_url":"https://api.github.com/repos/mirza1995/restaurant/issues{/number}","pulls_url":"https://api.github.com/repos/mirza1995/restaurant/pulls{/number}","milestones_url":"https://api.github.com/repos/mirza1995/restaurant/milestones{/number}","notifications_url":"https://api.github.com/repos/mirza1995/restaurant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mirza1995/restaurant/labels{/name}","releases_url":"https://api.github.com/repos/mirza1995/restaurant/releases{/id}","deployments_url":"https://api.github.com/repos/mirza1995/restaurant/deployments","created_at":"2018-05-14T15:30:53Z","updated_at":"2018-05-23T12:53:24Z","pushed_at":"2018-06-07T12:54:08Z","git_url":"git://github.com/mirza1995/restaurant.git","ssh_url":"git@github.com:mirza1995/restaurant.git","clone_url":"https://github.com/mirza1995/restaurant.git","svn_url":"https://github.com/mirza1995/restaurant","homepage":null,"size":30791,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mirza1995:master","ref":"master","sha":"7e81cf51a2927c8d7bf300490a1436d6dc3e3d5e","user":{"login":"mirza1995","id":35375934,"node_id":"MDQ6VXNlcjM1Mzc1OTM0","avatar_url":"https://avatars1.githubusercontent.com/u/35375934?v=4","gravatar_id":"","url":"https://api.github.com/users/mirza1995","html_url":"https://github.com/mirza1995","followers_url":"https://api.github.com/users/mirza1995/followers","following_url":"https://api.github.com/users/mirza1995/following{/other_user}","gists_url":"https://api.github.com/users/mirza1995/gists{/gist_id}","starred_url":"https://api.github.com/users/mirza1995/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirza1995/subscriptions","organizations_url":"https://api.github.com/users/mirza1995/orgs","repos_url":"https://api.github.com/users/mirza1995/repos","events_url":"https://api.github.com/users/mirza1995/events{/privacy}","received_events_url":"https://api.github.com/users/mirza1995/received_events","type":"User","site_admin":false},"repo":{"id":133383179,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMzODMxNzk=","name":"restaurant","full_name":"mirza1995/restaurant","owner":{"login":"mirza1995","id":35375934,"node_id":"MDQ6VXNlcjM1Mzc1OTM0","avatar_url":"https://avatars1.githubusercontent.com/u/35375934?v=4","gravatar_id":"","url":"https://api.github.com/users/mirza1995","html_url":"https://github.com/mirza1995","followers_url":"https://api.github.com/users/mirza1995/followers","following_url":"https://api.github.com/users/mirza1995/following{/other_user}","gists_url":"https://api.github.com/users/mirza1995/gists{/gist_id}","starred_url":"https://api.github.com/users/mirza1995/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirza1995/subscriptions","organizations_url":"https://api.github.com/users/mirza1995/orgs","repos_url":"https://api.github.com/users/mirza1995/repos","events_url":"https://api.github.com/users/mirza1995/events{/privacy}","received_events_url":"https://api.github.com/users/mirza1995/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mirza1995/restaurant","description":"Resta","fork":false,"url":"https://api.github.com/repos/mirza1995/restaurant","forks_url":"https://api.github.com/repos/mirza1995/restaurant/forks","keys_url":"https://api.github.com/repos/mirza1995/restaurant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mirza1995/restaurant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mirza1995/restaurant/teams","hooks_url":"https://api.github.com/repos/mirza1995/restaurant/hooks","issue_events_url":"https://api.github.com/repos/mirza1995/restaurant/issues/events{/number}","events_url":"https://api.github.com/repos/mirza1995/restaurant/events","assignees_url":"https://api.github.com/repos/mirza1995/restaurant/assignees{/user}","branches_url":"https://api.github.com/repos/mirza1995/restaurant/branches{/branch}","tags_url":"https://api.github.com/repos/mirza1995/restaurant/tags","blobs_url":"https://api.github.com/repos/mirza1995/restaurant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mirza1995/restaurant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mirza1995/restaurant/git/refs{/sha}","trees_url":"https://api.github.com/repos/mirza1995/restaurant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mirza1995/restaurant/statuses/{sha}","languages_url":"https://api.github.com/repos/mirza1995/restaurant/languages","stargazers_url":"https://api.github.com/repos/mirza1995/restaurant/stargazers","contributors_url":"https://api.github.com/repos/mirza1995/restaurant/contributors","subscribers_url":"https://api.github.com/repos/mirza1995/restaurant/subscribers","subscription_url":"https://api.github.com/repos/mirza1995/restaurant/subscription","commits_url":"https://api.github.com/repos/mirza1995/restaurant/commits{/sha}","git_commits_url":"https://api.github.com/repos/mirza1995/restaurant/git/commits{/sha}","comments_url":"https://api.github.com/repos/mirza1995/restaurant/comments{/number}","issue_comment_url":"https://api.github.com/repos/mirza1995/restaurant/issues/comments{/number}","contents_url":"https://api.github.com/repos/mirza1995/restaurant/contents/{+path}","compare_url":"https://api.github.com/repos/mirza1995/restaurant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mirza1995/restaurant/merges","archive_url":"https://api.github.com/repos/mirza1995/restaurant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mirza1995/restaurant/downloads","issues_url":"https://api.github.com/repos/mirza1995/restaurant/issues{/number}","pulls_url":"https://api.github.com/repos/mirza1995/restaurant/pulls{/number}","milestones_url":"https://api.github.com/repos/mirza1995/restaurant/milestones{/number}","notifications_url":"https://api.github.com/repos/mirza1995/restaurant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mirza1995/restaurant/labels{/name}","releases_url":"https://api.github.com/repos/mirza1995/restaurant/releases{/id}","deployments_url":"https://api.github.com/repos/mirza1995/restaurant/deployments","created_at":"2018-05-14T15:30:53Z","updated_at":"2018-05-23T12:53:24Z","pushed_at":"2018-06-07T12:54:08Z","git_url":"git://github.com/mirza1995/restaurant.git","ssh_url":"git@github.com:mirza1995/restaurant.git","clone_url":"https://github.com/mirza1995/restaurant.git","svn_url":"https://github.com/mirza1995/restaurant","homepage":null,"size":30791,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mirza1995/restaurant/pulls/21"},"html":{"href":"https://github.com/mirza1995/restaurant/pull/21"},"issue":{"href":"https://api.github.com/repos/mirza1995/restaurant/issues/21"},"comments":{"href":"https://api.github.com/repos/mirza1995/restaurant/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/mirza1995/restaurant/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/mirza1995/restaurant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mirza1995/restaurant/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/mirza1995/restaurant/statuses/0397cefa77d34f2e14c2b06bd9beaf6c5fe53f54"}},"author_association":"OWNER"}}
{"actor":{"display_login":"ZaidABH"}}