{"action":"created","comment":{"url":"https://api.github.com/repos/Vocco/hero-jobs/pulls/comments/227722610","pull_request_review_id":167824854,"id":227722610,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNzcyMjYxMA==","diff_hunk":"@@ -16,12 +17,20 @@\n public class Affinity {\n \n     @Id\n+    @GeneratedValue\n     private Long id;\n \n     @Column(nullable = false)\n     private String name;\n     private int level;\n \n+    public Affinity() {}\n+\n+    public Affinity(String name, int level) {\n+        this.setName(name);","path":"src/main/java/cz/muni/fi/pa165/heroes/entity/Affinity.java","position":22,"original_position":22,"commit_id":"72f14773af80d9683f397a5e554d78edffb4ef33","original_commit_id":"72f14773af80d9683f397a5e554d78edffb4ef33","user":{"login":"michalpavuk","id":43531646,"node_id":"MDQ6VXNlcjQzNTMxNjQ2","avatar_url":"https://avatars1.githubusercontent.com/u/43531646?v=4","gravatar_id":"","url":"https://api.github.com/users/michalpavuk","html_url":"https://github.com/michalpavuk","followers_url":"https://api.github.com/users/michalpavuk/followers","following_url":"https://api.github.com/users/michalpavuk/following{/other_user}","gists_url":"https://api.github.com/users/michalpavuk/gists{/gist_id}","starred_url":"https://api.github.com/users/michalpavuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalpavuk/subscriptions","organizations_url":"https://api.github.com/users/michalpavuk/orgs","repos_url":"https://api.github.com/users/michalpavuk/repos","events_url":"https://api.github.com/users/michalpavuk/events{/privacy}","received_events_url":"https://api.github.com/users/michalpavuk/received_events","type":"User","site_admin":false},"body":"No, there isn't anything special about it. I just like to be explicit.","created_at":"2018-10-24T09:59:07Z","updated_at":"2018-10-24T09:59:07Z","html_url":"https://github.com/Vocco/hero-jobs/pull/9#discussion_r227722610","pull_request_url":"https://api.github.com/repos/Vocco/hero-jobs/pulls/9","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Vocco/hero-jobs/pulls/comments/227722610"},"html":{"href":"https://github.com/Vocco/hero-jobs/pull/9#discussion_r227722610"},"pull_request":{"href":"https://api.github.com/repos/Vocco/hero-jobs/pulls/9"}},"in_reply_to_id":227659358},"pull_request":{"url":"https://api.github.com/repos/Vocco/hero-jobs/pulls/9","id":225184064,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1MTg0MDY0","html_url":"https://github.com/Vocco/hero-jobs/pull/9","diff_url":"https://github.com/Vocco/hero-jobs/pull/9.diff","patch_url":"https://github.com/Vocco/hero-jobs/pull/9.patch","issue_url":"https://api.github.com/repos/Vocco/hero-jobs/issues/9","number":9,"state":"open","locked":false,"title":"Added constructors, toString implementations and minor refactoring","user":{"login":"michalpavuk","id":43531646,"node_id":"MDQ6VXNlcjQzNTMxNjQ2","avatar_url":"https://avatars1.githubusercontent.com/u/43531646?v=4","gravatar_id":"","url":"https://api.github.com/users/michalpavuk","html_url":"https://github.com/michalpavuk","followers_url":"https://api.github.com/users/michalpavuk/followers","following_url":"https://api.github.com/users/michalpavuk/following{/other_user}","gists_url":"https://api.github.com/users/michalpavuk/gists{/gist_id}","starred_url":"https://api.github.com/users/michalpavuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalpavuk/subscriptions","organizations_url":"https://api.github.com/users/michalpavuk/orgs","repos_url":"https://api.github.com/users/michalpavuk/repos","events_url":"https://api.github.com/users/michalpavuk/events{/privacy}","received_events_url":"https://api.github.com/users/michalpavuk/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-23T20:55:40Z","updated_at":"2018-10-24T09:59:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5d22d1b7e4a878613af89d9a182a775d5367452","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Vocco/hero-jobs/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Vocco/hero-jobs/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Vocco/hero-jobs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Vocco/hero-jobs/issues/9/comments","statuses_url":"https://api.github.com/repos/Vocco/hero-jobs/statuses/72f14773af80d9683f397a5e554d78edffb4ef33","head":{"label":"Vocco:feat-skill","ref":"feat-skill","sha":"72f14773af80d9683f397a5e554d78edffb4ef33","user":{"login":"Vocco","id":10996424,"node_id":"MDQ6VXNlcjEwOTk2NDI0","avatar_url":"https://avatars1.githubusercontent.com/u/10996424?v=4","gravatar_id":"","url":"https://api.github.com/users/Vocco","html_url":"https://github.com/Vocco","followers_url":"https://api.github.com/users/Vocco/followers","following_url":"https://api.github.com/users/Vocco/following{/other_user}","gists_url":"https://api.github.com/users/Vocco/gists{/gist_id}","starred_url":"https://api.github.com/users/Vocco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vocco/subscriptions","organizations_url":"https://api.github.com/users/Vocco/orgs","repos_url":"https://api.github.com/users/Vocco/repos","events_url":"https://api.github.com/users/Vocco/events{/privacy}","received_events_url":"https://api.github.com/users/Vocco/received_events","type":"User","site_admin":false},"repo":{"id":152048225,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIwNDgyMjU=","name":"hero-jobs","full_name":"Vocco/hero-jobs","private":false,"owner":{"login":"Vocco","id":10996424,"node_id":"MDQ6VXNlcjEwOTk2NDI0","avatar_url":"https://avatars1.githubusercontent.com/u/10996424?v=4","gravatar_id":"","url":"https://api.github.com/users/Vocco","html_url":"https://github.com/Vocco","followers_url":"https://api.github.com/users/Vocco/followers","following_url":"https://api.github.com/users/Vocco/following{/other_user}","gists_url":"https://api.github.com/users/Vocco/gists{/gist_id}","starred_url":"https://api.github.com/users/Vocco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vocco/subscriptions","organizations_url":"https://api.github.com/users/Vocco/orgs","repos_url":"https://api.github.com/users/Vocco/repos","events_url":"https://api.github.com/users/Vocco/events{/privacy}","received_events_url":"https://api.github.com/users/Vocco/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Vocco/hero-jobs","description":"Team project for the PA165 course at the Faculty of Informatics, Masaryk University","fork":false,"url":"https://api.github.com/repos/Vocco/hero-jobs","forks_url":"https://api.github.com/repos/Vocco/hero-jobs/forks","keys_url":"https://api.github.com/repos/Vocco/hero-jobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vocco/hero-jobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vocco/hero-jobs/teams","hooks_url":"https://api.github.com/repos/Vocco/hero-jobs/hooks","issue_events_url":"https://api.github.com/repos/Vocco/hero-jobs/issues/events{/number}","events_url":"https://api.github.com/repos/Vocco/hero-jobs/events","assignees_url":"https://api.github.com/repos/Vocco/hero-jobs/assignees{/user}","branches_url":"https://api.github.com/repos/Vocco/hero-jobs/branches{/branch}","tags_url":"https://api.github.com/repos/Vocco/hero-jobs/tags","blobs_url":"https://api.github.com/repos/Vocco/hero-jobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vocco/hero-jobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vocco/hero-jobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vocco/hero-jobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vocco/hero-jobs/statuses/{sha}","languages_url":"https://api.github.com/repos/Vocco/hero-jobs/languages","stargazers_url":"https://api.github.com/repos/Vocco/hero-jobs/stargazers","contributors_url":"https://api.github.com/repos/Vocco/hero-jobs/contributors","subscribers_url":"https://api.github.com/repos/Vocco/hero-jobs/subscribers","subscription_url":"https://api.github.com/repos/Vocco/hero-jobs/subscription","commits_url":"https://api.github.com/repos/Vocco/hero-jobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vocco/hero-jobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vocco/hero-jobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vocco/hero-jobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vocco/hero-jobs/contents/{+path}","compare_url":"https://api.github.com/repos/Vocco/hero-jobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vocco/hero-jobs/merges","archive_url":"https://api.github.com/repos/Vocco/hero-jobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vocco/hero-jobs/downloads","issues_url":"https://api.github.com/repos/Vocco/hero-jobs/issues{/number}","pulls_url":"https://api.github.com/repos/Vocco/hero-jobs/pulls{/number}","milestones_url":"https://api.github.com/repos/Vocco/hero-jobs/milestones{/number}","notifications_url":"https://api.github.com/repos/Vocco/hero-jobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vocco/hero-jobs/labels{/name}","releases_url":"https://api.github.com/repos/Vocco/hero-jobs/releases{/id}","deployments_url":"https://api.github.com/repos/Vocco/hero-jobs/deployments","created_at":"2018-10-08T08:54:08Z","updated_at":"2018-10-08T12:08:30Z","pushed_at":"2018-10-23T20:55:41Z","git_url":"git://github.com/Vocco/hero-jobs.git","ssh_url":"git@github.com:Vocco/hero-jobs.git","clone_url":"https://github.com/Vocco/hero-jobs.git","svn_url":"https://github.com/Vocco/hero-jobs","homepage":null,"size":123,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"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":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"Vocco:milestone-1","ref":"milestone-1","sha":"802c84c2c071185ec59f16ad81ee64a2a81c5885","user":{"login":"Vocco","id":10996424,"node_id":"MDQ6VXNlcjEwOTk2NDI0","avatar_url":"https://avatars1.githubusercontent.com/u/10996424?v=4","gravatar_id":"","url":"https://api.github.com/users/Vocco","html_url":"https://github.com/Vocco","followers_url":"https://api.github.com/users/Vocco/followers","following_url":"https://api.github.com/users/Vocco/following{/other_user}","gists_url":"https://api.github.com/users/Vocco/gists{/gist_id}","starred_url":"https://api.github.com/users/Vocco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vocco/subscriptions","organizations_url":"https://api.github.com/users/Vocco/orgs","repos_url":"https://api.github.com/users/Vocco/repos","events_url":"https://api.github.com/users/Vocco/events{/privacy}","received_events_url":"https://api.github.com/users/Vocco/received_events","type":"User","site_admin":false},"repo":{"id":152048225,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIwNDgyMjU=","name":"hero-jobs","full_name":"Vocco/hero-jobs","private":false,"owner":{"login":"Vocco","id":10996424,"node_id":"MDQ6VXNlcjEwOTk2NDI0","avatar_url":"https://avatars1.githubusercontent.com/u/10996424?v=4","gravatar_id":"","url":"https://api.github.com/users/Vocco","html_url":"https://github.com/Vocco","followers_url":"https://api.github.com/users/Vocco/followers","following_url":"https://api.github.com/users/Vocco/following{/other_user}","gists_url":"https://api.github.com/users/Vocco/gists{/gist_id}","starred_url":"https://api.github.com/users/Vocco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vocco/subscriptions","organizations_url":"https://api.github.com/users/Vocco/orgs","repos_url":"https://api.github.com/users/Vocco/repos","events_url":"https://api.github.com/users/Vocco/events{/privacy}","received_events_url":"https://api.github.com/users/Vocco/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Vocco/hero-jobs","description":"Team project for the PA165 course at the Faculty of Informatics, Masaryk University","fork":false,"url":"https://api.github.com/repos/Vocco/hero-jobs","forks_url":"https://api.github.com/repos/Vocco/hero-jobs/forks","keys_url":"https://api.github.com/repos/Vocco/hero-jobs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vocco/hero-jobs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vocco/hero-jobs/teams","hooks_url":"https://api.github.com/repos/Vocco/hero-jobs/hooks","issue_events_url":"https://api.github.com/repos/Vocco/hero-jobs/issues/events{/number}","events_url":"https://api.github.com/repos/Vocco/hero-jobs/events","assignees_url":"https://api.github.com/repos/Vocco/hero-jobs/assignees{/user}","branches_url":"https://api.github.com/repos/Vocco/hero-jobs/branches{/branch}","tags_url":"https://api.github.com/repos/Vocco/hero-jobs/tags","blobs_url":"https://api.github.com/repos/Vocco/hero-jobs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vocco/hero-jobs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vocco/hero-jobs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vocco/hero-jobs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vocco/hero-jobs/statuses/{sha}","languages_url":"https://api.github.com/repos/Vocco/hero-jobs/languages","stargazers_url":"https://api.github.com/repos/Vocco/hero-jobs/stargazers","contributors_url":"https://api.github.com/repos/Vocco/hero-jobs/contributors","subscribers_url":"https://api.github.com/repos/Vocco/hero-jobs/subscribers","subscription_url":"https://api.github.com/repos/Vocco/hero-jobs/subscription","commits_url":"https://api.github.com/repos/Vocco/hero-jobs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vocco/hero-jobs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vocco/hero-jobs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vocco/hero-jobs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vocco/hero-jobs/contents/{+path}","compare_url":"https://api.github.com/repos/Vocco/hero-jobs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vocco/hero-jobs/merges","archive_url":"https://api.github.com/repos/Vocco/hero-jobs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vocco/hero-jobs/downloads","issues_url":"https://api.github.com/repos/Vocco/hero-jobs/issues{/number}","pulls_url":"https://api.github.com/repos/Vocco/hero-jobs/pulls{/number}","milestones_url":"https://api.github.com/repos/Vocco/hero-jobs/milestones{/number}","notifications_url":"https://api.github.com/repos/Vocco/hero-jobs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vocco/hero-jobs/labels{/name}","releases_url":"https://api.github.com/repos/Vocco/hero-jobs/releases{/id}","deployments_url":"https://api.github.com/repos/Vocco/hero-jobs/deployments","created_at":"2018-10-08T08:54:08Z","updated_at":"2018-10-08T12:08:30Z","pushed_at":"2018-10-23T20:55:41Z","git_url":"git://github.com/Vocco/hero-jobs.git","ssh_url":"git@github.com:Vocco/hero-jobs.git","clone_url":"https://github.com/Vocco/hero-jobs.git","svn_url":"https://github.com/Vocco/hero-jobs","homepage":null,"size":123,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"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":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Vocco/hero-jobs/pulls/9"},"html":{"href":"https://github.com/Vocco/hero-jobs/pull/9"},"issue":{"href":"https://api.github.com/repos/Vocco/hero-jobs/issues/9"},"comments":{"href":"https://api.github.com/repos/Vocco/hero-jobs/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Vocco/hero-jobs/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Vocco/hero-jobs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Vocco/hero-jobs/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Vocco/hero-jobs/statuses/72f14773af80d9683f397a5e554d78edffb4ef33"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"michalpavuk"}}