{"action":"created","comment":{"url":"https://api.github.com/repos/karelalex/myshop/pulls/comments/209964111","pull_request_review_id":146079250,"id":209964111,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTk2NDExMQ==","diff_hunk":"@@ -0,0 +1,72 @@\n+package ru.naztrans.elcom.entity;\n+\n+import ru.naztrans.elcom.dao.CategoryDAO;\n+\n+import javax.inject.Inject;\n+import javax.persistence.Entity;\n+import javax.persistence.Id;\n+import javax.persistence.ManyToOne;\n+import java.util.UUID;\n+@Entity\n+public class Product {\n+    @Id\n+    private String id=UUID.randomUUID().toString();\n+    @ManyToOne()\n+    private Category category;\n+    private String name;","path":"src/main/java/ru/naztrans/elcom/entity/Product.java","position":16,"original_position":16,"commit_id":"14a70bfa02cbaa5e5ae103095824ff6114d4ea2c","original_commit_id":"14a70bfa02cbaa5e5ae103095824ff6114d4ea2c","user":{"login":"denis-volnenko","id":30533122,"node_id":"MDQ6VXNlcjMwNTMzMTIy","avatar_url":"https://avatars1.githubusercontent.com/u/30533122?v=4","gravatar_id":"","url":"https://api.github.com/users/denis-volnenko","html_url":"https://github.com/denis-volnenko","followers_url":"https://api.github.com/users/denis-volnenko/followers","following_url":"https://api.github.com/users/denis-volnenko/following{/other_user}","gists_url":"https://api.github.com/users/denis-volnenko/gists{/gist_id}","starred_url":"https://api.github.com/users/denis-volnenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denis-volnenko/subscriptions","organizations_url":"https://api.github.com/users/denis-volnenko/orgs","repos_url":"https://api.github.com/users/denis-volnenko/repos","events_url":"https://api.github.com/users/denis-volnenko/events{/privacy}","received_events_url":"https://api.github.com/users/denis-volnenko/received_events","type":"User","site_admin":false},"body":"Лучше добавить аннотацию @Column для простых типов","created_at":"2018-08-14T14:05:28Z","updated_at":"2018-08-14T14:05:28Z","html_url":"https://github.com/karelalex/myshop/pull/4#discussion_r209964111","pull_request_url":"https://api.github.com/repos/karelalex/myshop/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/karelalex/myshop/pulls/comments/209964111"},"html":{"href":"https://github.com/karelalex/myshop/pull/4#discussion_r209964111"},"pull_request":{"href":"https://api.github.com/repos/karelalex/myshop/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/karelalex/myshop/pulls/4","id":208286935,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4Mjg2OTM1","html_url":"https://github.com/karelalex/myshop/pull/4","diff_url":"https://github.com/karelalex/myshop/pull/4.diff","patch_url":"https://github.com/karelalex/myshop/pull/4.patch","issue_url":"https://api.github.com/repos/karelalex/myshop/issues/4","number":4,"state":"open","locked":false,"title":"L5","user":{"login":"karelalex","id":35873006,"node_id":"MDQ6VXNlcjM1ODczMDA2","avatar_url":"https://avatars0.githubusercontent.com/u/35873006?v=4","gravatar_id":"","url":"https://api.github.com/users/karelalex","html_url":"https://github.com/karelalex","followers_url":"https://api.github.com/users/karelalex/followers","following_url":"https://api.github.com/users/karelalex/following{/other_user}","gists_url":"https://api.github.com/users/karelalex/gists{/gist_id}","starred_url":"https://api.github.com/users/karelalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelalex/subscriptions","organizations_url":"https://api.github.com/users/karelalex/orgs","repos_url":"https://api.github.com/users/karelalex/repos","events_url":"https://api.github.com/users/karelalex/events{/privacy}","received_events_url":"https://api.github.com/users/karelalex/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-14T13:45:33Z","updated_at":"2018-08-14T14:05:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d465449cd43a23c5e293907105d933c5d08291f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/karelalex/myshop/pulls/4/commits","review_comments_url":"https://api.github.com/repos/karelalex/myshop/pulls/4/comments","review_comment_url":"https://api.github.com/repos/karelalex/myshop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/karelalex/myshop/issues/4/comments","statuses_url":"https://api.github.com/repos/karelalex/myshop/statuses/14a70bfa02cbaa5e5ae103095824ff6114d4ea2c","head":{"label":"karelalex:L5","ref":"L5","sha":"14a70bfa02cbaa5e5ae103095824ff6114d4ea2c","user":{"login":"karelalex","id":35873006,"node_id":"MDQ6VXNlcjM1ODczMDA2","avatar_url":"https://avatars0.githubusercontent.com/u/35873006?v=4","gravatar_id":"","url":"https://api.github.com/users/karelalex","html_url":"https://github.com/karelalex","followers_url":"https://api.github.com/users/karelalex/followers","following_url":"https://api.github.com/users/karelalex/following{/other_user}","gists_url":"https://api.github.com/users/karelalex/gists{/gist_id}","starred_url":"https://api.github.com/users/karelalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelalex/subscriptions","organizations_url":"https://api.github.com/users/karelalex/orgs","repos_url":"https://api.github.com/users/karelalex/repos","events_url":"https://api.github.com/users/karelalex/events{/privacy}","received_events_url":"https://api.github.com/users/karelalex/received_events","type":"User","site_admin":false},"repo":{"id":143408960,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM0MDg5NjA=","name":"myshop","full_name":"karelalex/myshop","owner":{"login":"karelalex","id":35873006,"node_id":"MDQ6VXNlcjM1ODczMDA2","avatar_url":"https://avatars0.githubusercontent.com/u/35873006?v=4","gravatar_id":"","url":"https://api.github.com/users/karelalex","html_url":"https://github.com/karelalex","followers_url":"https://api.github.com/users/karelalex/followers","following_url":"https://api.github.com/users/karelalex/following{/other_user}","gists_url":"https://api.github.com/users/karelalex/gists{/gist_id}","starred_url":"https://api.github.com/users/karelalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelalex/subscriptions","organizations_url":"https://api.github.com/users/karelalex/orgs","repos_url":"https://api.github.com/users/karelalex/repos","events_url":"https://api.github.com/users/karelalex/events{/privacy}","received_events_url":"https://api.github.com/users/karelalex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karelalex/myshop","description":null,"fork":false,"url":"https://api.github.com/repos/karelalex/myshop","forks_url":"https://api.github.com/repos/karelalex/myshop/forks","keys_url":"https://api.github.com/repos/karelalex/myshop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karelalex/myshop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karelalex/myshop/teams","hooks_url":"https://api.github.com/repos/karelalex/myshop/hooks","issue_events_url":"https://api.github.com/repos/karelalex/myshop/issues/events{/number}","events_url":"https://api.github.com/repos/karelalex/myshop/events","assignees_url":"https://api.github.com/repos/karelalex/myshop/assignees{/user}","branches_url":"https://api.github.com/repos/karelalex/myshop/branches{/branch}","tags_url":"https://api.github.com/repos/karelalex/myshop/tags","blobs_url":"https://api.github.com/repos/karelalex/myshop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karelalex/myshop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karelalex/myshop/git/refs{/sha}","trees_url":"https://api.github.com/repos/karelalex/myshop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karelalex/myshop/statuses/{sha}","languages_url":"https://api.github.com/repos/karelalex/myshop/languages","stargazers_url":"https://api.github.com/repos/karelalex/myshop/stargazers","contributors_url":"https://api.github.com/repos/karelalex/myshop/contributors","subscribers_url":"https://api.github.com/repos/karelalex/myshop/subscribers","subscription_url":"https://api.github.com/repos/karelalex/myshop/subscription","commits_url":"https://api.github.com/repos/karelalex/myshop/commits{/sha}","git_commits_url":"https://api.github.com/repos/karelalex/myshop/git/commits{/sha}","comments_url":"https://api.github.com/repos/karelalex/myshop/comments{/number}","issue_comment_url":"https://api.github.com/repos/karelalex/myshop/issues/comments{/number}","contents_url":"https://api.github.com/repos/karelalex/myshop/contents/{+path}","compare_url":"https://api.github.com/repos/karelalex/myshop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karelalex/myshop/merges","archive_url":"https://api.github.com/repos/karelalex/myshop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karelalex/myshop/downloads","issues_url":"https://api.github.com/repos/karelalex/myshop/issues{/number}","pulls_url":"https://api.github.com/repos/karelalex/myshop/pulls{/number}","milestones_url":"https://api.github.com/repos/karelalex/myshop/milestones{/number}","notifications_url":"https://api.github.com/repos/karelalex/myshop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karelalex/myshop/labels{/name}","releases_url":"https://api.github.com/repos/karelalex/myshop/releases{/id}","deployments_url":"https://api.github.com/repos/karelalex/myshop/deployments","created_at":"2018-08-03T09:39:49Z","updated_at":"2018-08-03T10:25:46Z","pushed_at":"2018-08-14T13:45:33Z","git_url":"git://github.com/karelalex/myshop.git","ssh_url":"git@github.com:karelalex/myshop.git","clone_url":"https://github.com/karelalex/myshop.git","svn_url":"https://github.com/karelalex/myshop","homepage":null,"size":19,"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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"karelalex:master","ref":"master","sha":"66a86fdd071dd87db1685bc527baff2e44db250e","user":{"login":"karelalex","id":35873006,"node_id":"MDQ6VXNlcjM1ODczMDA2","avatar_url":"https://avatars0.githubusercontent.com/u/35873006?v=4","gravatar_id":"","url":"https://api.github.com/users/karelalex","html_url":"https://github.com/karelalex","followers_url":"https://api.github.com/users/karelalex/followers","following_url":"https://api.github.com/users/karelalex/following{/other_user}","gists_url":"https://api.github.com/users/karelalex/gists{/gist_id}","starred_url":"https://api.github.com/users/karelalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelalex/subscriptions","organizations_url":"https://api.github.com/users/karelalex/orgs","repos_url":"https://api.github.com/users/karelalex/repos","events_url":"https://api.github.com/users/karelalex/events{/privacy}","received_events_url":"https://api.github.com/users/karelalex/received_events","type":"User","site_admin":false},"repo":{"id":143408960,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM0MDg5NjA=","name":"myshop","full_name":"karelalex/myshop","owner":{"login":"karelalex","id":35873006,"node_id":"MDQ6VXNlcjM1ODczMDA2","avatar_url":"https://avatars0.githubusercontent.com/u/35873006?v=4","gravatar_id":"","url":"https://api.github.com/users/karelalex","html_url":"https://github.com/karelalex","followers_url":"https://api.github.com/users/karelalex/followers","following_url":"https://api.github.com/users/karelalex/following{/other_user}","gists_url":"https://api.github.com/users/karelalex/gists{/gist_id}","starred_url":"https://api.github.com/users/karelalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelalex/subscriptions","organizations_url":"https://api.github.com/users/karelalex/orgs","repos_url":"https://api.github.com/users/karelalex/repos","events_url":"https://api.github.com/users/karelalex/events{/privacy}","received_events_url":"https://api.github.com/users/karelalex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karelalex/myshop","description":null,"fork":false,"url":"https://api.github.com/repos/karelalex/myshop","forks_url":"https://api.github.com/repos/karelalex/myshop/forks","keys_url":"https://api.github.com/repos/karelalex/myshop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karelalex/myshop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karelalex/myshop/teams","hooks_url":"https://api.github.com/repos/karelalex/myshop/hooks","issue_events_url":"https://api.github.com/repos/karelalex/myshop/issues/events{/number}","events_url":"https://api.github.com/repos/karelalex/myshop/events","assignees_url":"https://api.github.com/repos/karelalex/myshop/assignees{/user}","branches_url":"https://api.github.com/repos/karelalex/myshop/branches{/branch}","tags_url":"https://api.github.com/repos/karelalex/myshop/tags","blobs_url":"https://api.github.com/repos/karelalex/myshop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karelalex/myshop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karelalex/myshop/git/refs{/sha}","trees_url":"https://api.github.com/repos/karelalex/myshop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karelalex/myshop/statuses/{sha}","languages_url":"https://api.github.com/repos/karelalex/myshop/languages","stargazers_url":"https://api.github.com/repos/karelalex/myshop/stargazers","contributors_url":"https://api.github.com/repos/karelalex/myshop/contributors","subscribers_url":"https://api.github.com/repos/karelalex/myshop/subscribers","subscription_url":"https://api.github.com/repos/karelalex/myshop/subscription","commits_url":"https://api.github.com/repos/karelalex/myshop/commits{/sha}","git_commits_url":"https://api.github.com/repos/karelalex/myshop/git/commits{/sha}","comments_url":"https://api.github.com/repos/karelalex/myshop/comments{/number}","issue_comment_url":"https://api.github.com/repos/karelalex/myshop/issues/comments{/number}","contents_url":"https://api.github.com/repos/karelalex/myshop/contents/{+path}","compare_url":"https://api.github.com/repos/karelalex/myshop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karelalex/myshop/merges","archive_url":"https://api.github.com/repos/karelalex/myshop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karelalex/myshop/downloads","issues_url":"https://api.github.com/repos/karelalex/myshop/issues{/number}","pulls_url":"https://api.github.com/repos/karelalex/myshop/pulls{/number}","milestones_url":"https://api.github.com/repos/karelalex/myshop/milestones{/number}","notifications_url":"https://api.github.com/repos/karelalex/myshop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karelalex/myshop/labels{/name}","releases_url":"https://api.github.com/repos/karelalex/myshop/releases{/id}","deployments_url":"https://api.github.com/repos/karelalex/myshop/deployments","created_at":"2018-08-03T09:39:49Z","updated_at":"2018-08-03T10:25:46Z","pushed_at":"2018-08-14T13:45:33Z","git_url":"git://github.com/karelalex/myshop.git","ssh_url":"git@github.com:karelalex/myshop.git","clone_url":"https://github.com/karelalex/myshop.git","svn_url":"https://github.com/karelalex/myshop","homepage":null,"size":19,"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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/karelalex/myshop/pulls/4"},"html":{"href":"https://github.com/karelalex/myshop/pull/4"},"issue":{"href":"https://api.github.com/repos/karelalex/myshop/issues/4"},"comments":{"href":"https://api.github.com/repos/karelalex/myshop/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/karelalex/myshop/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/karelalex/myshop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/karelalex/myshop/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/karelalex/myshop/statuses/14a70bfa02cbaa5e5ae103095824ff6114d4ea2c"}},"author_association":"OWNER"}}
{"actor":{"display_login":"denis-volnenko"}}