{"action":"created","comment":{"url":"https://api.github.com/repos/Murgaloids/murgaloids/pulls/comments/169469085","pull_request_review_id":98000178,"id":169469085,"diff_hunk":"@@ -0,0 +1,69 @@\n+package com.murgaloids.server;\n+\n+import javax.persistence.Entity;\n+import javax.persistence.Table;\n+import javax.persistence.Column;\n+import javax.persistence.GeneratedValue;\n+import javax.persistence.GenerationType;\n+import javax.persistence.Id;\n+\n+@Entity\n+@Table(name = \"students\")\n+public class Student {\n+  @Id\n+  @GeneratedValue(strategy=GenerationType.AUTO)\n+  private Integer id;\n+\n+  @Column(nullable = false)\n+  private String email;\n+\n+  @Column(nullable = false)\n+  private String firstName;\n+\n+  @Column(nullable = false)\n+  private String lastName;\n+\n+  protected Student() {/** Used by JPA spec **/}\n+\n+  public Student(\n+    String email,","path":"src/main/java/com/murgaloids/server/entities/Student.java","position":29,"original_position":29,"commit_id":"9396d17a8e50d0872010bbae8e7c3eeb3744cb9c","original_commit_id":"6dc108e58455f7d9edea85e562063ac9797e1f48","user":{"login":"kuminin","id":6777090,"avatar_url":"https://avatars1.githubusercontent.com/u/6777090?v=4","gravatar_id":"","url":"https://api.github.com/users/kuminin","html_url":"https://github.com/kuminin","followers_url":"https://api.github.com/users/kuminin/followers","following_url":"https://api.github.com/users/kuminin/following{/other_user}","gists_url":"https://api.github.com/users/kuminin/gists{/gist_id}","starred_url":"https://api.github.com/users/kuminin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuminin/subscriptions","organizations_url":"https://api.github.com/users/kuminin/orgs","repos_url":"https://api.github.com/users/kuminin/repos","events_url":"https://api.github.com/users/kuminin/events{/privacy}","received_events_url":"https://api.github.com/users/kuminin/received_events","type":"User","site_admin":false},"body":"Why do we need getters and setters if the member variables are public?","created_at":"2018-02-20T21:42:09Z","updated_at":"2018-02-20T21:43:45Z","html_url":"https://github.com/Murgaloids/murgaloids/pull/18#discussion_r169469085","pull_request_url":"https://api.github.com/repos/Murgaloids/murgaloids/pulls/18","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Murgaloids/murgaloids/pulls/comments/169469085"},"html":{"href":"https://github.com/Murgaloids/murgaloids/pull/18#discussion_r169469085"},"pull_request":{"href":"https://api.github.com/repos/Murgaloids/murgaloids/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/Murgaloids/murgaloids/pulls/18","id":169843489,"html_url":"https://github.com/Murgaloids/murgaloids/pull/18","diff_url":"https://github.com/Murgaloids/murgaloids/pull/18.diff","patch_url":"https://github.com/Murgaloids/murgaloids/pull/18.patch","issue_url":"https://api.github.com/repos/Murgaloids/murgaloids/issues/18","number":18,"state":"open","locked":false,"title":"Init user services","user":{"login":"derrickhnguyen","id":10682341,"avatar_url":"https://avatars2.githubusercontent.com/u/10682341?v=4","gravatar_id":"","url":"https://api.github.com/users/derrickhnguyen","html_url":"https://github.com/derrickhnguyen","followers_url":"https://api.github.com/users/derrickhnguyen/followers","following_url":"https://api.github.com/users/derrickhnguyen/following{/other_user}","gists_url":"https://api.github.com/users/derrickhnguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/derrickhnguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derrickhnguyen/subscriptions","organizations_url":"https://api.github.com/users/derrickhnguyen/orgs","repos_url":"https://api.github.com/users/derrickhnguyen/repos","events_url":"https://api.github.com/users/derrickhnguyen/events{/privacy}","received_events_url":"https://api.github.com/users/derrickhnguyen/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-18T18:38:07Z","updated_at":"2018-02-20T21:43:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ff9453a112662de2a67b1a2abbc2f28f70f82a5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":826052794,"url":"https://api.github.com/repos/Murgaloids/murgaloids/labels/review","name":"review","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Murgaloids/murgaloids/pulls/18/commits","review_comments_url":"https://api.github.com/repos/Murgaloids/murgaloids/pulls/18/comments","review_comment_url":"https://api.github.com/repos/Murgaloids/murgaloids/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Murgaloids/murgaloids/issues/18/comments","statuses_url":"https://api.github.com/repos/Murgaloids/murgaloids/statuses/9396d17a8e50d0872010bbae8e7c3eeb3744cb9c","head":{"label":"Murgaloids:user-service-murgaloids","ref":"user-service-murgaloids","sha":"9396d17a8e50d0872010bbae8e7c3eeb3744cb9c","user":{"login":"Murgaloids","id":34078601,"avatar_url":"https://avatars0.githubusercontent.com/u/34078601?v=4","gravatar_id":"","url":"https://api.github.com/users/Murgaloids","html_url":"https://github.com/Murgaloids","followers_url":"https://api.github.com/users/Murgaloids/followers","following_url":"https://api.github.com/users/Murgaloids/following{/other_user}","gists_url":"https://api.github.com/users/Murgaloids/gists{/gist_id}","starred_url":"https://api.github.com/users/Murgaloids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Murgaloids/subscriptions","organizations_url":"https://api.github.com/users/Murgaloids/orgs","repos_url":"https://api.github.com/users/Murgaloids/repos","events_url":"https://api.github.com/users/Murgaloids/events{/privacy}","received_events_url":"https://api.github.com/users/Murgaloids/received_events","type":"Organization","site_admin":false},"repo":{"id":112402086,"name":"murgaloids","full_name":"Murgaloids/murgaloids","owner":{"login":"Murgaloids","id":34078601,"avatar_url":"https://avatars0.githubusercontent.com/u/34078601?v=4","gravatar_id":"","url":"https://api.github.com/users/Murgaloids","html_url":"https://github.com/Murgaloids","followers_url":"https://api.github.com/users/Murgaloids/followers","following_url":"https://api.github.com/users/Murgaloids/following{/other_user}","gists_url":"https://api.github.com/users/Murgaloids/gists{/gist_id}","starred_url":"https://api.github.com/users/Murgaloids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Murgaloids/subscriptions","organizations_url":"https://api.github.com/users/Murgaloids/orgs","repos_url":"https://api.github.com/users/Murgaloids/repos","events_url":"https://api.github.com/users/Murgaloids/events{/privacy}","received_events_url":"https://api.github.com/users/Murgaloids/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Murgaloids/murgaloids","description":"CSULB exclusive e-commerce application for students","fork":false,"url":"https://api.github.com/repos/Murgaloids/murgaloids","forks_url":"https://api.github.com/repos/Murgaloids/murgaloids/forks","keys_url":"https://api.github.com/repos/Murgaloids/murgaloids/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Murgaloids/murgaloids/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Murgaloids/murgaloids/teams","hooks_url":"https://api.github.com/repos/Murgaloids/murgaloids/hooks","issue_events_url":"https://api.github.com/repos/Murgaloids/murgaloids/issues/events{/number}","events_url":"https://api.github.com/repos/Murgaloids/murgaloids/events","assignees_url":"https://api.github.com/repos/Murgaloids/murgaloids/assignees{/user}","branches_url":"https://api.github.com/repos/Murgaloids/murgaloids/branches{/branch}","tags_url":"https://api.github.com/repos/Murgaloids/murgaloids/tags","blobs_url":"https://api.github.com/repos/Murgaloids/murgaloids/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Murgaloids/murgaloids/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Murgaloids/murgaloids/git/refs{/sha}","trees_url":"https://api.github.com/repos/Murgaloids/murgaloids/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Murgaloids/murgaloids/statuses/{sha}","languages_url":"https://api.github.com/repos/Murgaloids/murgaloids/languages","stargazers_url":"https://api.github.com/repos/Murgaloids/murgaloids/stargazers","contributors_url":"https://api.github.com/repos/Murgaloids/murgaloids/contributors","subscribers_url":"https://api.github.com/repos/Murgaloids/murgaloids/subscribers","subscription_url":"https://api.github.com/repos/Murgaloids/murgaloids/subscription","commits_url":"https://api.github.com/repos/Murgaloids/murgaloids/commits{/sha}","git_commits_url":"https://api.github.com/repos/Murgaloids/murgaloids/git/commits{/sha}","comments_url":"https://api.github.com/repos/Murgaloids/murgaloids/comments{/number}","issue_comment_url":"https://api.github.com/repos/Murgaloids/murgaloids/issues/comments{/number}","contents_url":"https://api.github.com/repos/Murgaloids/murgaloids/contents/{+path}","compare_url":"https://api.github.com/repos/Murgaloids/murgaloids/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Murgaloids/murgaloids/merges","archive_url":"https://api.github.com/repos/Murgaloids/murgaloids/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Murgaloids/murgaloids/downloads","issues_url":"https://api.github.com/repos/Murgaloids/murgaloids/issues{/number}","pulls_url":"https://api.github.com/repos/Murgaloids/murgaloids/pulls{/number}","milestones_url":"https://api.github.com/repos/Murgaloids/murgaloids/milestones{/number}","notifications_url":"https://api.github.com/repos/Murgaloids/murgaloids/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Murgaloids/murgaloids/labels{/name}","releases_url":"https://api.github.com/repos/Murgaloids/murgaloids/releases{/id}","deployments_url":"https://api.github.com/repos/Murgaloids/murgaloids/deployments","created_at":"2017-11-28T23:40:03Z","updated_at":"2018-02-20T20:38:03Z","pushed_at":"2018-02-18T18:40:23Z","git_url":"git://github.com/Murgaloids/murgaloids.git","ssh_url":"git@github.com:Murgaloids/murgaloids.git","clone_url":"https://github.com/Murgaloids/murgaloids.git","svn_url":"https://github.com/Murgaloids/murgaloids","homepage":"","size":73,"stargazers_count":0,"watchers_count":0,"language":"Java","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":13,"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"},"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"Murgaloids:master","ref":"master","sha":"5467c0fb031195d756cc073593d1eea035df58ad","user":{"login":"Murgaloids","id":34078601,"avatar_url":"https://avatars0.githubusercontent.com/u/34078601?v=4","gravatar_id":"","url":"https://api.github.com/users/Murgaloids","html_url":"https://github.com/Murgaloids","followers_url":"https://api.github.com/users/Murgaloids/followers","following_url":"https://api.github.com/users/Murgaloids/following{/other_user}","gists_url":"https://api.github.com/users/Murgaloids/gists{/gist_id}","starred_url":"https://api.github.com/users/Murgaloids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Murgaloids/subscriptions","organizations_url":"https://api.github.com/users/Murgaloids/orgs","repos_url":"https://api.github.com/users/Murgaloids/repos","events_url":"https://api.github.com/users/Murgaloids/events{/privacy}","received_events_url":"https://api.github.com/users/Murgaloids/received_events","type":"Organization","site_admin":false},"repo":{"id":112402086,"name":"murgaloids","full_name":"Murgaloids/murgaloids","owner":{"login":"Murgaloids","id":34078601,"avatar_url":"https://avatars0.githubusercontent.com/u/34078601?v=4","gravatar_id":"","url":"https://api.github.com/users/Murgaloids","html_url":"https://github.com/Murgaloids","followers_url":"https://api.github.com/users/Murgaloids/followers","following_url":"https://api.github.com/users/Murgaloids/following{/other_user}","gists_url":"https://api.github.com/users/Murgaloids/gists{/gist_id}","starred_url":"https://api.github.com/users/Murgaloids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Murgaloids/subscriptions","organizations_url":"https://api.github.com/users/Murgaloids/orgs","repos_url":"https://api.github.com/users/Murgaloids/repos","events_url":"https://api.github.com/users/Murgaloids/events{/privacy}","received_events_url":"https://api.github.com/users/Murgaloids/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Murgaloids/murgaloids","description":"CSULB exclusive e-commerce application for students","fork":false,"url":"https://api.github.com/repos/Murgaloids/murgaloids","forks_url":"https://api.github.com/repos/Murgaloids/murgaloids/forks","keys_url":"https://api.github.com/repos/Murgaloids/murgaloids/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Murgaloids/murgaloids/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Murgaloids/murgaloids/teams","hooks_url":"https://api.github.com/repos/Murgaloids/murgaloids/hooks","issue_events_url":"https://api.github.com/repos/Murgaloids/murgaloids/issues/events{/number}","events_url":"https://api.github.com/repos/Murgaloids/murgaloids/events","assignees_url":"https://api.github.com/repos/Murgaloids/murgaloids/assignees{/user}","branches_url":"https://api.github.com/repos/Murgaloids/murgaloids/branches{/branch}","tags_url":"https://api.github.com/repos/Murgaloids/murgaloids/tags","blobs_url":"https://api.github.com/repos/Murgaloids/murgaloids/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Murgaloids/murgaloids/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Murgaloids/murgaloids/git/refs{/sha}","trees_url":"https://api.github.com/repos/Murgaloids/murgaloids/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Murgaloids/murgaloids/statuses/{sha}","languages_url":"https://api.github.com/repos/Murgaloids/murgaloids/languages","stargazers_url":"https://api.github.com/repos/Murgaloids/murgaloids/stargazers","contributors_url":"https://api.github.com/repos/Murgaloids/murgaloids/contributors","subscribers_url":"https://api.github.com/repos/Murgaloids/murgaloids/subscribers","subscription_url":"https://api.github.com/repos/Murgaloids/murgaloids/subscription","commits_url":"https://api.github.com/repos/Murgaloids/murgaloids/commits{/sha}","git_commits_url":"https://api.github.com/repos/Murgaloids/murgaloids/git/commits{/sha}","comments_url":"https://api.github.com/repos/Murgaloids/murgaloids/comments{/number}","issue_comment_url":"https://api.github.com/repos/Murgaloids/murgaloids/issues/comments{/number}","contents_url":"https://api.github.com/repos/Murgaloids/murgaloids/contents/{+path}","compare_url":"https://api.github.com/repos/Murgaloids/murgaloids/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Murgaloids/murgaloids/merges","archive_url":"https://api.github.com/repos/Murgaloids/murgaloids/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Murgaloids/murgaloids/downloads","issues_url":"https://api.github.com/repos/Murgaloids/murgaloids/issues{/number}","pulls_url":"https://api.github.com/repos/Murgaloids/murgaloids/pulls{/number}","milestones_url":"https://api.github.com/repos/Murgaloids/murgaloids/milestones{/number}","notifications_url":"https://api.github.com/repos/Murgaloids/murgaloids/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Murgaloids/murgaloids/labels{/name}","releases_url":"https://api.github.com/repos/Murgaloids/murgaloids/releases{/id}","deployments_url":"https://api.github.com/repos/Murgaloids/murgaloids/deployments","created_at":"2017-11-28T23:40:03Z","updated_at":"2018-02-20T20:38:03Z","pushed_at":"2018-02-18T18:40:23Z","git_url":"git://github.com/Murgaloids/murgaloids.git","ssh_url":"git@github.com:Murgaloids/murgaloids.git","clone_url":"https://github.com/Murgaloids/murgaloids.git","svn_url":"https://github.com/Murgaloids/murgaloids","homepage":"","size":73,"stargazers_count":0,"watchers_count":0,"language":"Java","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":13,"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"},"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Murgaloids/murgaloids/pulls/18"},"html":{"href":"https://github.com/Murgaloids/murgaloids/pull/18"},"issue":{"href":"https://api.github.com/repos/Murgaloids/murgaloids/issues/18"},"comments":{"href":"https://api.github.com/repos/Murgaloids/murgaloids/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/Murgaloids/murgaloids/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/Murgaloids/murgaloids/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Murgaloids/murgaloids/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/Murgaloids/murgaloids/statuses/9396d17a8e50d0872010bbae8e7c3eeb3744cb9c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kuminin"}}