{"action":"created","comment":{"url":"https://api.github.com/repos/mrjink/molveno/pulls/comments/239068658","pull_request_review_id":181760795,"id":239068658,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTA2ODY1OA==","diff_hunk":"@@ -2,34 +2,110 @@\n \n import com.molvenolakeresort.models.restaurant.enums.MenuCategory;\n import com.molvenolakeresort.models.restaurant.enums.MenuItemType;\n-import com.molvenolakeresort.models.restaurant.stock.Ingredient;\n \n-import java.util.List;\n+import javax.persistence.Entity;\n+import javax.persistence.GeneratedValue;\n+import javax.persistence.Id;\n \n+@Entity\n public class MenuItem {\n-    private int id;\n+    @Id\n+    @GeneratedValue\n+    private long idMenuItem;\n     private MenuItemType type;\n     private MenuCategory category;\n     private String imagePath;\n     private String description;\n     private double price;\n     private String name;\n-    private List<Ingredient> ingredients;\n+//    @ManyToMany(mappedBy = \"menuItems\")\n+//    private List<Menu> menus = new ArrayList<>();","path":"src/main/java/com/molvenolakeresort/models/restaurant/menu/MenuItem.java","position":25,"original_position":25,"commit_id":"9e32453dd640994a7facfd5d4cfb6b59f529fb92","original_commit_id":"9e32453dd640994a7facfd5d4cfb6b59f529fb92","user":{"login":"sonarcloud[bot]","id":39514782,"node_id":"MDM6Qm90Mzk1MTQ3ODI=","avatar_url":"https://avatars2.githubusercontent.com/in/12526?v=4","gravatar_id":"","url":"https://api.github.com/users/sonarcloud%5Bbot%5D","html_url":"https://github.com/apps/sonarcloud","followers_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/followers","following_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/repos","events_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/sonarcloud%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"![Code Smell](https://sonarsource.github.io/sonar-github/code_smell.png 'Code Smell') Code Smell: This block of commented-out lines of code should be removed. ([squid:CommentedOutCodeLine](https://sonarcloud.io/organizations/mrjink-github/rules#rule_key=squid%3ACommentedOutCodeLine))\n\n[See it in SonarCloud](https://sonarcloud.io/project/issues?id=com.molvenolakeresort%3Amolvenolakeresort&pullRequest=24&issues=AWd9yYExCh2zBQVNAouG&open=AWd9yYExCh2zBQVNAouG)\n\n[ISSUE_KEY]: AWd9yYExCh2zBQVNAouG","created_at":"2018-12-05T13:45:46Z","updated_at":"2018-12-05T13:45:49Z","html_url":"https://github.com/mrjink/molveno/pull/24#discussion_r239068658","pull_request_url":"https://api.github.com/repos/mrjink/molveno/pulls/24","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/mrjink/molveno/pulls/comments/239068658"},"html":{"href":"https://github.com/mrjink/molveno/pull/24#discussion_r239068658"},"pull_request":{"href":"https://api.github.com/repos/mrjink/molveno/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/mrjink/molveno/pulls/24","id":236108585,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2MTA4NTg1","html_url":"https://github.com/mrjink/molveno/pull/24","diff_url":"https://github.com/mrjink/molveno/pull/24.diff","patch_url":"https://github.com/mrjink/molveno/pull/24.patch","issue_url":"https://api.github.com/repos/mrjink/molveno/issues/24","number":24,"state":"open","locked":false,"title":"Restaurant latest changes 5-12-2018","user":{"login":"mel182","id":42454027,"node_id":"MDQ6VXNlcjQyNDU0MDI3","avatar_url":"https://avatars2.githubusercontent.com/u/42454027?v=4","gravatar_id":"","url":"https://api.github.com/users/mel182","html_url":"https://github.com/mel182","followers_url":"https://api.github.com/users/mel182/followers","following_url":"https://api.github.com/users/mel182/following{/other_user}","gists_url":"https://api.github.com/users/mel182/gists{/gist_id}","starred_url":"https://api.github.com/users/mel182/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mel182/subscriptions","organizations_url":"https://api.github.com/users/mel182/orgs","repos_url":"https://api.github.com/users/mel182/repos","events_url":"https://api.github.com/users/mel182/events{/privacy}","received_events_url":"https://api.github.com/users/mel182/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-05T09:50:19Z","updated_at":"2018-12-05T13:45:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b173de7304d82592875eef445f681d5f54f15a89","assignee":null,"assignees":[],"requested_reviewers":[{"login":"JuulCapgemini","id":44834746,"node_id":"MDQ6VXNlcjQ0ODM0NzQ2","avatar_url":"https://avatars2.githubusercontent.com/u/44834746?v=4","gravatar_id":"","url":"https://api.github.com/users/JuulCapgemini","html_url":"https://github.com/JuulCapgemini","followers_url":"https://api.github.com/users/JuulCapgemini/followers","following_url":"https://api.github.com/users/JuulCapgemini/following{/other_user}","gists_url":"https://api.github.com/users/JuulCapgemini/gists{/gist_id}","starred_url":"https://api.github.com/users/JuulCapgemini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuulCapgemini/subscriptions","organizations_url":"https://api.github.com/users/JuulCapgemini/orgs","repos_url":"https://api.github.com/users/JuulCapgemini/repos","events_url":"https://api.github.com/users/JuulCapgemini/events{/privacy}","received_events_url":"https://api.github.com/users/JuulCapgemini/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mrjink/molveno/pulls/24/commits","review_comments_url":"https://api.github.com/repos/mrjink/molveno/pulls/24/comments","review_comment_url":"https://api.github.com/repos/mrjink/molveno/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mrjink/molveno/issues/24/comments","statuses_url":"https://api.github.com/repos/mrjink/molveno/statuses/9e32453dd640994a7facfd5d4cfb6b59f529fb92","head":{"label":"mrjink:restaurant","ref":"restaurant","sha":"9e32453dd640994a7facfd5d4cfb6b59f529fb92","user":{"login":"mrjink","id":206721,"node_id":"MDQ6VXNlcjIwNjcyMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/206721?v=4","gravatar_id":"","url":"https://api.github.com/users/mrjink","html_url":"https://github.com/mrjink","followers_url":"https://api.github.com/users/mrjink/followers","following_url":"https://api.github.com/users/mrjink/following{/other_user}","gists_url":"https://api.github.com/users/mrjink/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjink/subscriptions","organizations_url":"https://api.github.com/users/mrjink/orgs","repos_url":"https://api.github.com/users/mrjink/repos","events_url":"https://api.github.com/users/mrjink/events{/privacy}","received_events_url":"https://api.github.com/users/mrjink/received_events","type":"User","site_admin":false},"repo":{"id":157379697,"node_id":"MDEwOlJlcG9zaXRvcnkxNTczNzk2OTc=","name":"molveno","full_name":"mrjink/molveno","private":false,"owner":{"login":"mrjink","id":206721,"node_id":"MDQ6VXNlcjIwNjcyMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/206721?v=4","gravatar_id":"","url":"https://api.github.com/users/mrjink","html_url":"https://github.com/mrjink","followers_url":"https://api.github.com/users/mrjink/followers","following_url":"https://api.github.com/users/mrjink/following{/other_user}","gists_url":"https://api.github.com/users/mrjink/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjink/subscriptions","organizations_url":"https://api.github.com/users/mrjink/orgs","repos_url":"https://api.github.com/users/mrjink/repos","events_url":"https://api.github.com/users/mrjink/events{/privacy}","received_events_url":"https://api.github.com/users/mrjink/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mrjink/molveno","description":"Molveno Lake Resort China","fork":false,"url":"https://api.github.com/repos/mrjink/molveno","forks_url":"https://api.github.com/repos/mrjink/molveno/forks","keys_url":"https://api.github.com/repos/mrjink/molveno/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrjink/molveno/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrjink/molveno/teams","hooks_url":"https://api.github.com/repos/mrjink/molveno/hooks","issue_events_url":"https://api.github.com/repos/mrjink/molveno/issues/events{/number}","events_url":"https://api.github.com/repos/mrjink/molveno/events","assignees_url":"https://api.github.com/repos/mrjink/molveno/assignees{/user}","branches_url":"https://api.github.com/repos/mrjink/molveno/branches{/branch}","tags_url":"https://api.github.com/repos/mrjink/molveno/tags","blobs_url":"https://api.github.com/repos/mrjink/molveno/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrjink/molveno/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrjink/molveno/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrjink/molveno/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrjink/molveno/statuses/{sha}","languages_url":"https://api.github.com/repos/mrjink/molveno/languages","stargazers_url":"https://api.github.com/repos/mrjink/molveno/stargazers","contributors_url":"https://api.github.com/repos/mrjink/molveno/contributors","subscribers_url":"https://api.github.com/repos/mrjink/molveno/subscribers","subscription_url":"https://api.github.com/repos/mrjink/molveno/subscription","commits_url":"https://api.github.com/repos/mrjink/molveno/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrjink/molveno/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrjink/molveno/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrjink/molveno/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrjink/molveno/contents/{+path}","compare_url":"https://api.github.com/repos/mrjink/molveno/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrjink/molveno/merges","archive_url":"https://api.github.com/repos/mrjink/molveno/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrjink/molveno/downloads","issues_url":"https://api.github.com/repos/mrjink/molveno/issues{/number}","pulls_url":"https://api.github.com/repos/mrjink/molveno/pulls{/number}","milestones_url":"https://api.github.com/repos/mrjink/molveno/milestones{/number}","notifications_url":"https://api.github.com/repos/mrjink/molveno/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrjink/molveno/labels{/name}","releases_url":"https://api.github.com/repos/mrjink/molveno/releases{/id}","deployments_url":"https://api.github.com/repos/mrjink/molveno/deployments","created_at":"2018-11-13T12:51:06Z","updated_at":"2018-12-03T15:38:55Z","pushed_at":"2018-12-05T13:45:26Z","git_url":"git://github.com/mrjink/molveno.git","ssh_url":"git@github.com:mrjink/molveno.git","clone_url":"https://github.com/mrjink/molveno.git","svn_url":"https://github.com/mrjink/molveno","homepage":null,"size":7981,"stargazers_count":2,"watchers_count":2,"language":"HTML","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":2,"license":null,"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"mrjink:master","ref":"master","sha":"bf4e8af1818d75b73fd78b730247140804be55c3","user":{"login":"mrjink","id":206721,"node_id":"MDQ6VXNlcjIwNjcyMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/206721?v=4","gravatar_id":"","url":"https://api.github.com/users/mrjink","html_url":"https://github.com/mrjink","followers_url":"https://api.github.com/users/mrjink/followers","following_url":"https://api.github.com/users/mrjink/following{/other_user}","gists_url":"https://api.github.com/users/mrjink/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjink/subscriptions","organizations_url":"https://api.github.com/users/mrjink/orgs","repos_url":"https://api.github.com/users/mrjink/repos","events_url":"https://api.github.com/users/mrjink/events{/privacy}","received_events_url":"https://api.github.com/users/mrjink/received_events","type":"User","site_admin":false},"repo":{"id":157379697,"node_id":"MDEwOlJlcG9zaXRvcnkxNTczNzk2OTc=","name":"molveno","full_name":"mrjink/molveno","private":false,"owner":{"login":"mrjink","id":206721,"node_id":"MDQ6VXNlcjIwNjcyMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/206721?v=4","gravatar_id":"","url":"https://api.github.com/users/mrjink","html_url":"https://github.com/mrjink","followers_url":"https://api.github.com/users/mrjink/followers","following_url":"https://api.github.com/users/mrjink/following{/other_user}","gists_url":"https://api.github.com/users/mrjink/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjink/subscriptions","organizations_url":"https://api.github.com/users/mrjink/orgs","repos_url":"https://api.github.com/users/mrjink/repos","events_url":"https://api.github.com/users/mrjink/events{/privacy}","received_events_url":"https://api.github.com/users/mrjink/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mrjink/molveno","description":"Molveno Lake Resort China","fork":false,"url":"https://api.github.com/repos/mrjink/molveno","forks_url":"https://api.github.com/repos/mrjink/molveno/forks","keys_url":"https://api.github.com/repos/mrjink/molveno/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrjink/molveno/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrjink/molveno/teams","hooks_url":"https://api.github.com/repos/mrjink/molveno/hooks","issue_events_url":"https://api.github.com/repos/mrjink/molveno/issues/events{/number}","events_url":"https://api.github.com/repos/mrjink/molveno/events","assignees_url":"https://api.github.com/repos/mrjink/molveno/assignees{/user}","branches_url":"https://api.github.com/repos/mrjink/molveno/branches{/branch}","tags_url":"https://api.github.com/repos/mrjink/molveno/tags","blobs_url":"https://api.github.com/repos/mrjink/molveno/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrjink/molveno/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrjink/molveno/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrjink/molveno/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrjink/molveno/statuses/{sha}","languages_url":"https://api.github.com/repos/mrjink/molveno/languages","stargazers_url":"https://api.github.com/repos/mrjink/molveno/stargazers","contributors_url":"https://api.github.com/repos/mrjink/molveno/contributors","subscribers_url":"https://api.github.com/repos/mrjink/molveno/subscribers","subscription_url":"https://api.github.com/repos/mrjink/molveno/subscription","commits_url":"https://api.github.com/repos/mrjink/molveno/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrjink/molveno/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrjink/molveno/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrjink/molveno/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrjink/molveno/contents/{+path}","compare_url":"https://api.github.com/repos/mrjink/molveno/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrjink/molveno/merges","archive_url":"https://api.github.com/repos/mrjink/molveno/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrjink/molveno/downloads","issues_url":"https://api.github.com/repos/mrjink/molveno/issues{/number}","pulls_url":"https://api.github.com/repos/mrjink/molveno/pulls{/number}","milestones_url":"https://api.github.com/repos/mrjink/molveno/milestones{/number}","notifications_url":"https://api.github.com/repos/mrjink/molveno/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrjink/molveno/labels{/name}","releases_url":"https://api.github.com/repos/mrjink/molveno/releases{/id}","deployments_url":"https://api.github.com/repos/mrjink/molveno/deployments","created_at":"2018-11-13T12:51:06Z","updated_at":"2018-12-03T15:38:55Z","pushed_at":"2018-12-05T13:45:26Z","git_url":"git://github.com/mrjink/molveno.git","ssh_url":"git@github.com:mrjink/molveno.git","clone_url":"https://github.com/mrjink/molveno.git","svn_url":"https://github.com/mrjink/molveno","homepage":null,"size":7981,"stargazers_count":2,"watchers_count":2,"language":"HTML","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":2,"license":null,"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mrjink/molveno/pulls/24"},"html":{"href":"https://github.com/mrjink/molveno/pull/24"},"issue":{"href":"https://api.github.com/repos/mrjink/molveno/issues/24"},"comments":{"href":"https://api.github.com/repos/mrjink/molveno/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/mrjink/molveno/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/mrjink/molveno/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mrjink/molveno/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/mrjink/molveno/statuses/9e32453dd640994a7facfd5d4cfb6b59f529fb92"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"sonarcloud"}}