{"action":"created","comment":{"url":"https://api.github.com/repos/Ananaszek/SpringParking/pulls/comments/200588986","pull_request_review_id":134934128,"id":200588986,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDU4ODk4Ng==","diff_hunk":"@@ -0,0 +1,54 @@\n+package pl.springDemo.demo.user;\n+\n+import lombok.Getter;\n+import lombok.NoArgsConstructor;\n+import lombok.Setter;\n+import lombok.ToString;\n+import pl.springDemo.demo.userPayment.UserPayment;\n+\n+import javax.persistence.*;\n+import java.util.List;\n+import java.util.Objects;\n+\n+@Entity\n+@Getter\n+@Setter\n+@ToString\n+@NoArgsConstructor\n+@Table(name = \"User\")\n+public class User {\n+\n+    @Id\n+    @GeneratedValue(strategy = GenerationType.AUTO)\n+    private long id;\n+\n+    @Column(nullable = false)\n+    private String login;\n+\n+    @Enumerated(EnumType.STRING)\n+    @Column(nullable = false)\n+    private UserType userType;\n+\n+    @OneToMany(fetch = FetchType.LAZY , mappedBy = \"userId\", cascade = CascadeType.ALL)\n+    private List<UserPayment> userPayment;\n+\n+    public User(String login, UserType userType) {\n+        this.login = login;\n+        this.userType = userType;\n+    }\n+\n+    @Override\n+    public boolean equals(Object o) {","path":"SpringParking-parkingBranch/src/main/java/pl/springDemo/demo/user/User.java","position":41,"original_position":41,"commit_id":"56face5ec9842a5f0fcc5916d009930b0ecd41b3","original_commit_id":"56face5ec9842a5f0fcc5916d009930b0ecd41b3","user":{"login":"Ananaszek","id":32138536,"node_id":"MDQ6VXNlcjMyMTM4NTM2","avatar_url":"https://avatars2.githubusercontent.com/u/32138536?v=4","gravatar_id":"","url":"https://api.github.com/users/Ananaszek","html_url":"https://github.com/Ananaszek","followers_url":"https://api.github.com/users/Ananaszek/followers","following_url":"https://api.github.com/users/Ananaszek/following{/other_user}","gists_url":"https://api.github.com/users/Ananaszek/gists{/gist_id}","starred_url":"https://api.github.com/users/Ananaszek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ananaszek/subscriptions","organizations_url":"https://api.github.com/users/Ananaszek/orgs","repos_url":"https://api.github.com/users/Ananaszek/repos","events_url":"https://api.github.com/users/Ananaszek/events{/privacy}","received_events_url":"https://api.github.com/users/Ananaszek/received_events","type":"User","site_admin":false},"body":"Tak jak wcześniej pisałam, nie zdecydowałam się na to, ponieważ zdecydowałam delikatnie zkustomizować equals i hashCode","created_at":"2018-07-06T08:49:24Z","updated_at":"2018-07-06T08:49:25Z","html_url":"https://github.com/Ananaszek/SpringParking/pull/1#discussion_r200588986","pull_request_url":"https://api.github.com/repos/Ananaszek/SpringParking/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Ananaszek/SpringParking/pulls/comments/200588986"},"html":{"href":"https://github.com/Ananaszek/SpringParking/pull/1#discussion_r200588986"},"pull_request":{"href":"https://api.github.com/repos/Ananaszek/SpringParking/pulls/1"}},"in_reply_to_id":200585133},"pull_request":{"url":"https://api.github.com/repos/Ananaszek/SpringParking/pulls/1","id":197799395,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3Nzk5Mzk1","html_url":"https://github.com/Ananaszek/SpringParking/pull/1","diff_url":"https://github.com/Ananaszek/SpringParking/pull/1.diff","patch_url":"https://github.com/Ananaszek/SpringParking/pull/1.patch","issue_url":"https://api.github.com/repos/Ananaszek/SpringParking/issues/1","number":1,"state":"open","locked":false,"title":"Parking branch","user":{"login":"Ananaszek","id":32138536,"node_id":"MDQ6VXNlcjMyMTM4NTM2","avatar_url":"https://avatars2.githubusercontent.com/u/32138536?v=4","gravatar_id":"","url":"https://api.github.com/users/Ananaszek","html_url":"https://github.com/Ananaszek","followers_url":"https://api.github.com/users/Ananaszek/followers","following_url":"https://api.github.com/users/Ananaszek/following{/other_user}","gists_url":"https://api.github.com/users/Ananaszek/gists{/gist_id}","starred_url":"https://api.github.com/users/Ananaszek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ananaszek/subscriptions","organizations_url":"https://api.github.com/users/Ananaszek/orgs","repos_url":"https://api.github.com/users/Ananaszek/repos","events_url":"https://api.github.com/users/Ananaszek/events{/privacy}","received_events_url":"https://api.github.com/users/Ananaszek/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-27T17:18:37Z","updated_at":"2018-07-06T08:49:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d54eeb0b4eb5656b39af1794120c47778dc4eb50","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Ananaszek/SpringParking/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Ananaszek/SpringParking/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Ananaszek/SpringParking/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ananaszek/SpringParking/issues/1/comments","statuses_url":"https://api.github.com/repos/Ananaszek/SpringParking/statuses/56face5ec9842a5f0fcc5916d009930b0ecd41b3","head":{"label":"Ananaszek:parkingBranch","ref":"parkingBranch","sha":"56face5ec9842a5f0fcc5916d009930b0ecd41b3","user":{"login":"Ananaszek","id":32138536,"node_id":"MDQ6VXNlcjMyMTM4NTM2","avatar_url":"https://avatars2.githubusercontent.com/u/32138536?v=4","gravatar_id":"","url":"https://api.github.com/users/Ananaszek","html_url":"https://github.com/Ananaszek","followers_url":"https://api.github.com/users/Ananaszek/followers","following_url":"https://api.github.com/users/Ananaszek/following{/other_user}","gists_url":"https://api.github.com/users/Ananaszek/gists{/gist_id}","starred_url":"https://api.github.com/users/Ananaszek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ananaszek/subscriptions","organizations_url":"https://api.github.com/users/Ananaszek/orgs","repos_url":"https://api.github.com/users/Ananaszek/repos","events_url":"https://api.github.com/users/Ananaszek/events{/privacy}","received_events_url":"https://api.github.com/users/Ananaszek/received_events","type":"User","site_admin":false},"repo":{"id":138902883,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg5MDI4ODM=","name":"SpringParking","full_name":"Ananaszek/SpringParking","owner":{"login":"Ananaszek","id":32138536,"node_id":"MDQ6VXNlcjMyMTM4NTM2","avatar_url":"https://avatars2.githubusercontent.com/u/32138536?v=4","gravatar_id":"","url":"https://api.github.com/users/Ananaszek","html_url":"https://github.com/Ananaszek","followers_url":"https://api.github.com/users/Ananaszek/followers","following_url":"https://api.github.com/users/Ananaszek/following{/other_user}","gists_url":"https://api.github.com/users/Ananaszek/gists{/gist_id}","starred_url":"https://api.github.com/users/Ananaszek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ananaszek/subscriptions","organizations_url":"https://api.github.com/users/Ananaszek/orgs","repos_url":"https://api.github.com/users/Ananaszek/repos","events_url":"https://api.github.com/users/Ananaszek/events{/privacy}","received_events_url":"https://api.github.com/users/Ananaszek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ananaszek/SpringParking","description":"Simple Parkin build in Java with Spring framework, Project Lombok, etc","fork":false,"url":"https://api.github.com/repos/Ananaszek/SpringParking","forks_url":"https://api.github.com/repos/Ananaszek/SpringParking/forks","keys_url":"https://api.github.com/repos/Ananaszek/SpringParking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ananaszek/SpringParking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ananaszek/SpringParking/teams","hooks_url":"https://api.github.com/repos/Ananaszek/SpringParking/hooks","issue_events_url":"https://api.github.com/repos/Ananaszek/SpringParking/issues/events{/number}","events_url":"https://api.github.com/repos/Ananaszek/SpringParking/events","assignees_url":"https://api.github.com/repos/Ananaszek/SpringParking/assignees{/user}","branches_url":"https://api.github.com/repos/Ananaszek/SpringParking/branches{/branch}","tags_url":"https://api.github.com/repos/Ananaszek/SpringParking/tags","blobs_url":"https://api.github.com/repos/Ananaszek/SpringParking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ananaszek/SpringParking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ananaszek/SpringParking/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ananaszek/SpringParking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ananaszek/SpringParking/statuses/{sha}","languages_url":"https://api.github.com/repos/Ananaszek/SpringParking/languages","stargazers_url":"https://api.github.com/repos/Ananaszek/SpringParking/stargazers","contributors_url":"https://api.github.com/repos/Ananaszek/SpringParking/contributors","subscribers_url":"https://api.github.com/repos/Ananaszek/SpringParking/subscribers","subscription_url":"https://api.github.com/repos/Ananaszek/SpringParking/subscription","commits_url":"https://api.github.com/repos/Ananaszek/SpringParking/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ananaszek/SpringParking/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ananaszek/SpringParking/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ananaszek/SpringParking/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ananaszek/SpringParking/contents/{+path}","compare_url":"https://api.github.com/repos/Ananaszek/SpringParking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ananaszek/SpringParking/merges","archive_url":"https://api.github.com/repos/Ananaszek/SpringParking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ananaszek/SpringParking/downloads","issues_url":"https://api.github.com/repos/Ananaszek/SpringParking/issues{/number}","pulls_url":"https://api.github.com/repos/Ananaszek/SpringParking/pulls{/number}","milestones_url":"https://api.github.com/repos/Ananaszek/SpringParking/milestones{/number}","notifications_url":"https://api.github.com/repos/Ananaszek/SpringParking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ananaszek/SpringParking/labels{/name}","releases_url":"https://api.github.com/repos/Ananaszek/SpringParking/releases{/id}","deployments_url":"https://api.github.com/repos/Ananaszek/SpringParking/deployments","created_at":"2018-06-27T15:52:26Z","updated_at":"2018-06-27T17:11:33Z","pushed_at":"2018-06-27T17:18:38Z","git_url":"git://github.com/Ananaszek/SpringParking.git","ssh_url":"git@github.com:Ananaszek/SpringParking.git","clone_url":"https://github.com/Ananaszek/SpringParking.git","svn_url":"https://github.com/Ananaszek/SpringParking","homepage":null,"size":78,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Ananaszek:master","ref":"master","sha":"215e73be7ea9c2bbc553680ddabb9ed07adf9be4","user":{"login":"Ananaszek","id":32138536,"node_id":"MDQ6VXNlcjMyMTM4NTM2","avatar_url":"https://avatars2.githubusercontent.com/u/32138536?v=4","gravatar_id":"","url":"https://api.github.com/users/Ananaszek","html_url":"https://github.com/Ananaszek","followers_url":"https://api.github.com/users/Ananaszek/followers","following_url":"https://api.github.com/users/Ananaszek/following{/other_user}","gists_url":"https://api.github.com/users/Ananaszek/gists{/gist_id}","starred_url":"https://api.github.com/users/Ananaszek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ananaszek/subscriptions","organizations_url":"https://api.github.com/users/Ananaszek/orgs","repos_url":"https://api.github.com/users/Ananaszek/repos","events_url":"https://api.github.com/users/Ananaszek/events{/privacy}","received_events_url":"https://api.github.com/users/Ananaszek/received_events","type":"User","site_admin":false},"repo":{"id":138902883,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg5MDI4ODM=","name":"SpringParking","full_name":"Ananaszek/SpringParking","owner":{"login":"Ananaszek","id":32138536,"node_id":"MDQ6VXNlcjMyMTM4NTM2","avatar_url":"https://avatars2.githubusercontent.com/u/32138536?v=4","gravatar_id":"","url":"https://api.github.com/users/Ananaszek","html_url":"https://github.com/Ananaszek","followers_url":"https://api.github.com/users/Ananaszek/followers","following_url":"https://api.github.com/users/Ananaszek/following{/other_user}","gists_url":"https://api.github.com/users/Ananaszek/gists{/gist_id}","starred_url":"https://api.github.com/users/Ananaszek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ananaszek/subscriptions","organizations_url":"https://api.github.com/users/Ananaszek/orgs","repos_url":"https://api.github.com/users/Ananaszek/repos","events_url":"https://api.github.com/users/Ananaszek/events{/privacy}","received_events_url":"https://api.github.com/users/Ananaszek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ananaszek/SpringParking","description":"Simple Parkin build in Java with Spring framework, Project Lombok, etc","fork":false,"url":"https://api.github.com/repos/Ananaszek/SpringParking","forks_url":"https://api.github.com/repos/Ananaszek/SpringParking/forks","keys_url":"https://api.github.com/repos/Ananaszek/SpringParking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ananaszek/SpringParking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ananaszek/SpringParking/teams","hooks_url":"https://api.github.com/repos/Ananaszek/SpringParking/hooks","issue_events_url":"https://api.github.com/repos/Ananaszek/SpringParking/issues/events{/number}","events_url":"https://api.github.com/repos/Ananaszek/SpringParking/events","assignees_url":"https://api.github.com/repos/Ananaszek/SpringParking/assignees{/user}","branches_url":"https://api.github.com/repos/Ananaszek/SpringParking/branches{/branch}","tags_url":"https://api.github.com/repos/Ananaszek/SpringParking/tags","blobs_url":"https://api.github.com/repos/Ananaszek/SpringParking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ananaszek/SpringParking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ananaszek/SpringParking/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ananaszek/SpringParking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ananaszek/SpringParking/statuses/{sha}","languages_url":"https://api.github.com/repos/Ananaszek/SpringParking/languages","stargazers_url":"https://api.github.com/repos/Ananaszek/SpringParking/stargazers","contributors_url":"https://api.github.com/repos/Ananaszek/SpringParking/contributors","subscribers_url":"https://api.github.com/repos/Ananaszek/SpringParking/subscribers","subscription_url":"https://api.github.com/repos/Ananaszek/SpringParking/subscription","commits_url":"https://api.github.com/repos/Ananaszek/SpringParking/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ananaszek/SpringParking/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ananaszek/SpringParking/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ananaszek/SpringParking/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ananaszek/SpringParking/contents/{+path}","compare_url":"https://api.github.com/repos/Ananaszek/SpringParking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ananaszek/SpringParking/merges","archive_url":"https://api.github.com/repos/Ananaszek/SpringParking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ananaszek/SpringParking/downloads","issues_url":"https://api.github.com/repos/Ananaszek/SpringParking/issues{/number}","pulls_url":"https://api.github.com/repos/Ananaszek/SpringParking/pulls{/number}","milestones_url":"https://api.github.com/repos/Ananaszek/SpringParking/milestones{/number}","notifications_url":"https://api.github.com/repos/Ananaszek/SpringParking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ananaszek/SpringParking/labels{/name}","releases_url":"https://api.github.com/repos/Ananaszek/SpringParking/releases{/id}","deployments_url":"https://api.github.com/repos/Ananaszek/SpringParking/deployments","created_at":"2018-06-27T15:52:26Z","updated_at":"2018-06-27T17:11:33Z","pushed_at":"2018-06-27T17:18:38Z","git_url":"git://github.com/Ananaszek/SpringParking.git","ssh_url":"git@github.com:Ananaszek/SpringParking.git","clone_url":"https://github.com/Ananaszek/SpringParking.git","svn_url":"https://github.com/Ananaszek/SpringParking","homepage":null,"size":78,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ananaszek/SpringParking/pulls/1"},"html":{"href":"https://github.com/Ananaszek/SpringParking/pull/1"},"issue":{"href":"https://api.github.com/repos/Ananaszek/SpringParking/issues/1"},"comments":{"href":"https://api.github.com/repos/Ananaszek/SpringParking/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Ananaszek/SpringParking/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Ananaszek/SpringParking/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ananaszek/SpringParking/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Ananaszek/SpringParking/statuses/56face5ec9842a5f0fcc5916d009930b0ecd41b3"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Ananaszek"}}