{"action":"created","comment":{"url":"https://api.github.com/repos/alv-ch/jobroom2/pulls/comments/211562850","pull_request_review_id":148006717,"id":211562850,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMTU2Mjg1MA==","diff_hunk":"@@ -0,0 +1,215 @@\n+package ch.admin.seco.jobroom.domain;\n+\n+import java.util.Objects;\n+\n+import javax.persistence.Access;\n+import javax.persistence.AccessType;\n+import javax.persistence.AttributeOverride;\n+import javax.persistence.Column;\n+import javax.persistence.Embeddable;\n+import javax.persistence.Embedded;\n+import javax.persistence.EnumType;\n+import javax.persistence.Enumerated;\n+import javax.validation.constraints.Email;\n+import javax.validation.constraints.NotNull;\n+import javax.validation.constraints.Size;\n+\n+import com.google.common.base.Preconditions;\n+\n+@Embeddable\n+@Access(AccessType.FIELD)\n+public final class CompanyContactTemplate {\n+\n+    @Embedded\n+    @AttributeOverride(name = \"value\", column = @Column(name = \"company_id\"))\n+    private CompanyId companyId;\n+\n+    @NotNull\n+    @Size(max = 150)\n+    @Column(length = 150, nullable = false)","path":"src/main/java/ch/admin/seco/jobroom/domain/CompanyContactTemplate.java","position":29,"original_position":29,"commit_id":"420e92c54f858f5fe1496d743f38478c1f95f2d9","original_commit_id":"e3478211e825496991d54f2089bbfaa2c55502bc","user":{"login":"cjpsycos","id":7815345,"node_id":"MDQ6VXNlcjc4MTUzNDU=","avatar_url":"https://avatars0.githubusercontent.com/u/7815345?v=4","gravatar_id":"","url":"https://api.github.com/users/cjpsycos","html_url":"https://github.com/cjpsycos","followers_url":"https://api.github.com/users/cjpsycos/followers","following_url":"https://api.github.com/users/cjpsycos/following{/other_user}","gists_url":"https://api.github.com/users/cjpsycos/gists{/gist_id}","starred_url":"https://api.github.com/users/cjpsycos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjpsycos/subscriptions","organizations_url":"https://api.github.com/users/cjpsycos/orgs","repos_url":"https://api.github.com/users/cjpsycos/repos","events_url":"https://api.github.com/users/cjpsycos/events{/privacy}","received_events_url":"https://api.github.com/users/cjpsycos/received_events","type":"User","site_admin":false},"body":"remove @Column. constrains are already checked with @Size and @NotNull","created_at":"2018-08-21T10:58:39Z","updated_at":"2018-08-21T10:59:09Z","html_url":"https://github.com/alv-ch/jobroom2/pull/726#discussion_r211562850","pull_request_url":"https://api.github.com/repos/alv-ch/jobroom2/pulls/726","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/alv-ch/jobroom2/pulls/comments/211562850"},"html":{"href":"https://github.com/alv-ch/jobroom2/pull/726#discussion_r211562850"},"pull_request":{"href":"https://api.github.com/repos/alv-ch/jobroom2/pulls/726"}}},"pull_request":{"url":"https://api.github.com/repos/alv-ch/jobroom2/pulls/726","id":209124612,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MTI0NjEy","html_url":"https://github.com/alv-ch/jobroom2/pull/726","diff_url":"https://github.com/alv-ch/jobroom2/pull/726.diff","patch_url":"https://github.com/alv-ch/jobroom2/pull/726.patch","issue_url":"https://api.github.com/repos/alv-ch/jobroom2/issues/726","number":726,"state":"open","locked":false,"title":"Feature/jr2 1225","user":{"login":"fabiangotzen","id":7059532,"node_id":"MDQ6VXNlcjcwNTk1MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/7059532?v=4","gravatar_id":"","url":"https://api.github.com/users/fabiangotzen","html_url":"https://github.com/fabiangotzen","followers_url":"https://api.github.com/users/fabiangotzen/followers","following_url":"https://api.github.com/users/fabiangotzen/following{/other_user}","gists_url":"https://api.github.com/users/fabiangotzen/gists{/gist_id}","starred_url":"https://api.github.com/users/fabiangotzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabiangotzen/subscriptions","organizations_url":"https://api.github.com/users/fabiangotzen/orgs","repos_url":"https://api.github.com/users/fabiangotzen/repos","events_url":"https://api.github.com/users/fabiangotzen/events{/privacy}","received_events_url":"https://api.github.com/users/fabiangotzen/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-17T11:48:45Z","updated_at":"2018-08-21T10:59:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a633ae37ebc1a2f89b211b4d8010ca096104be1","assignee":null,"assignees":[],"requested_reviewers":[{"login":"pavax","id":5336841,"node_id":"MDQ6VXNlcjUzMzY4NDE=","avatar_url":"https://avatars1.githubusercontent.com/u/5336841?v=4","gravatar_id":"","url":"https://api.github.com/users/pavax","html_url":"https://github.com/pavax","followers_url":"https://api.github.com/users/pavax/followers","following_url":"https://api.github.com/users/pavax/following{/other_user}","gists_url":"https://api.github.com/users/pavax/gists{/gist_id}","starred_url":"https://api.github.com/users/pavax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavax/subscriptions","organizations_url":"https://api.github.com/users/pavax/orgs","repos_url":"https://api.github.com/users/pavax/repos","events_url":"https://api.github.com/users/pavax/events{/privacy}","received_events_url":"https://api.github.com/users/pavax/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/alv-ch/jobroom2/pulls/726/commits","review_comments_url":"https://api.github.com/repos/alv-ch/jobroom2/pulls/726/comments","review_comment_url":"https://api.github.com/repos/alv-ch/jobroom2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alv-ch/jobroom2/issues/726/comments","statuses_url":"https://api.github.com/repos/alv-ch/jobroom2/statuses/420e92c54f858f5fe1496d743f38478c1f95f2d9","head":{"label":"alv-ch:feature/JR2-1225","ref":"feature/JR2-1225","sha":"420e92c54f858f5fe1496d743f38478c1f95f2d9","user":{"login":"alv-ch","id":7008756,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcwMDg3NTY=","avatar_url":"https://avatars0.githubusercontent.com/u/7008756?v=4","gravatar_id":"","url":"https://api.github.com/users/alv-ch","html_url":"https://github.com/alv-ch","followers_url":"https://api.github.com/users/alv-ch/followers","following_url":"https://api.github.com/users/alv-ch/following{/other_user}","gists_url":"https://api.github.com/users/alv-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/alv-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alv-ch/subscriptions","organizations_url":"https://api.github.com/users/alv-ch/orgs","repos_url":"https://api.github.com/users/alv-ch/repos","events_url":"https://api.github.com/users/alv-ch/events{/privacy}","received_events_url":"https://api.github.com/users/alv-ch/received_events","type":"Organization","site_admin":false},"repo":{"id":18153573,"node_id":"MDEwOlJlcG9zaXRvcnkxODE1MzU3Mw==","name":"jobroom2","full_name":"alv-ch/jobroom2","owner":{"login":"alv-ch","id":7008756,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcwMDg3NTY=","avatar_url":"https://avatars0.githubusercontent.com/u/7008756?v=4","gravatar_id":"","url":"https://api.github.com/users/alv-ch","html_url":"https://github.com/alv-ch","followers_url":"https://api.github.com/users/alv-ch/followers","following_url":"https://api.github.com/users/alv-ch/following{/other_user}","gists_url":"https://api.github.com/users/alv-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/alv-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alv-ch/subscriptions","organizations_url":"https://api.github.com/users/alv-ch/orgs","repos_url":"https://api.github.com/users/alv-ch/repos","events_url":"https://api.github.com/users/alv-ch/events{/privacy}","received_events_url":"https://api.github.com/users/alv-ch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alv-ch/jobroom2","description":"Future web gateway of www.job-room.ch","fork":false,"url":"https://api.github.com/repos/alv-ch/jobroom2","forks_url":"https://api.github.com/repos/alv-ch/jobroom2/forks","keys_url":"https://api.github.com/repos/alv-ch/jobroom2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alv-ch/jobroom2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alv-ch/jobroom2/teams","hooks_url":"https://api.github.com/repos/alv-ch/jobroom2/hooks","issue_events_url":"https://api.github.com/repos/alv-ch/jobroom2/issues/events{/number}","events_url":"https://api.github.com/repos/alv-ch/jobroom2/events","assignees_url":"https://api.github.com/repos/alv-ch/jobroom2/assignees{/user}","branches_url":"https://api.github.com/repos/alv-ch/jobroom2/branches{/branch}","tags_url":"https://api.github.com/repos/alv-ch/jobroom2/tags","blobs_url":"https://api.github.com/repos/alv-ch/jobroom2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alv-ch/jobroom2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alv-ch/jobroom2/git/refs{/sha}","trees_url":"https://api.github.com/repos/alv-ch/jobroom2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alv-ch/jobroom2/statuses/{sha}","languages_url":"https://api.github.com/repos/alv-ch/jobroom2/languages","stargazers_url":"https://api.github.com/repos/alv-ch/jobroom2/stargazers","contributors_url":"https://api.github.com/repos/alv-ch/jobroom2/contributors","subscribers_url":"https://api.github.com/repos/alv-ch/jobroom2/subscribers","subscription_url":"https://api.github.com/repos/alv-ch/jobroom2/subscription","commits_url":"https://api.github.com/repos/alv-ch/jobroom2/commits{/sha}","git_commits_url":"https://api.github.com/repos/alv-ch/jobroom2/git/commits{/sha}","comments_url":"https://api.github.com/repos/alv-ch/jobroom2/comments{/number}","issue_comment_url":"https://api.github.com/repos/alv-ch/jobroom2/issues/comments{/number}","contents_url":"https://api.github.com/repos/alv-ch/jobroom2/contents/{+path}","compare_url":"https://api.github.com/repos/alv-ch/jobroom2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alv-ch/jobroom2/merges","archive_url":"https://api.github.com/repos/alv-ch/jobroom2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alv-ch/jobroom2/downloads","issues_url":"https://api.github.com/repos/alv-ch/jobroom2/issues{/number}","pulls_url":"https://api.github.com/repos/alv-ch/jobroom2/pulls{/number}","milestones_url":"https://api.github.com/repos/alv-ch/jobroom2/milestones{/number}","notifications_url":"https://api.github.com/repos/alv-ch/jobroom2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alv-ch/jobroom2/labels{/name}","releases_url":"https://api.github.com/repos/alv-ch/jobroom2/releases{/id}","deployments_url":"https://api.github.com/repos/alv-ch/jobroom2/deployments","created_at":"2014-03-26T20:56:10Z","updated_at":"2018-08-20T14:57:59Z","pushed_at":"2018-08-21T10:15:10Z","git_url":"git://github.com/alv-ch/jobroom2.git","ssh_url":"git@github.com:alv-ch/jobroom2.git","clone_url":"https://github.com/alv-ch/jobroom2.git","svn_url":"https://github.com/alv-ch/jobroom2","homepage":"","size":10159,"stargazers_count":2,"watchers_count":2,"language":"TypeScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":4,"open_issues":3,"watchers":2,"default_branch":"develop"}},"base":{"label":"alv-ch:develop","ref":"develop","sha":"3467d90c474b3193ffa3bb61ed703f83157a7299","user":{"login":"alv-ch","id":7008756,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcwMDg3NTY=","avatar_url":"https://avatars0.githubusercontent.com/u/7008756?v=4","gravatar_id":"","url":"https://api.github.com/users/alv-ch","html_url":"https://github.com/alv-ch","followers_url":"https://api.github.com/users/alv-ch/followers","following_url":"https://api.github.com/users/alv-ch/following{/other_user}","gists_url":"https://api.github.com/users/alv-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/alv-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alv-ch/subscriptions","organizations_url":"https://api.github.com/users/alv-ch/orgs","repos_url":"https://api.github.com/users/alv-ch/repos","events_url":"https://api.github.com/users/alv-ch/events{/privacy}","received_events_url":"https://api.github.com/users/alv-ch/received_events","type":"Organization","site_admin":false},"repo":{"id":18153573,"node_id":"MDEwOlJlcG9zaXRvcnkxODE1MzU3Mw==","name":"jobroom2","full_name":"alv-ch/jobroom2","owner":{"login":"alv-ch","id":7008756,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcwMDg3NTY=","avatar_url":"https://avatars0.githubusercontent.com/u/7008756?v=4","gravatar_id":"","url":"https://api.github.com/users/alv-ch","html_url":"https://github.com/alv-ch","followers_url":"https://api.github.com/users/alv-ch/followers","following_url":"https://api.github.com/users/alv-ch/following{/other_user}","gists_url":"https://api.github.com/users/alv-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/alv-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alv-ch/subscriptions","organizations_url":"https://api.github.com/users/alv-ch/orgs","repos_url":"https://api.github.com/users/alv-ch/repos","events_url":"https://api.github.com/users/alv-ch/events{/privacy}","received_events_url":"https://api.github.com/users/alv-ch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alv-ch/jobroom2","description":"Future web gateway of www.job-room.ch","fork":false,"url":"https://api.github.com/repos/alv-ch/jobroom2","forks_url":"https://api.github.com/repos/alv-ch/jobroom2/forks","keys_url":"https://api.github.com/repos/alv-ch/jobroom2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alv-ch/jobroom2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alv-ch/jobroom2/teams","hooks_url":"https://api.github.com/repos/alv-ch/jobroom2/hooks","issue_events_url":"https://api.github.com/repos/alv-ch/jobroom2/issues/events{/number}","events_url":"https://api.github.com/repos/alv-ch/jobroom2/events","assignees_url":"https://api.github.com/repos/alv-ch/jobroom2/assignees{/user}","branches_url":"https://api.github.com/repos/alv-ch/jobroom2/branches{/branch}","tags_url":"https://api.github.com/repos/alv-ch/jobroom2/tags","blobs_url":"https://api.github.com/repos/alv-ch/jobroom2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alv-ch/jobroom2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alv-ch/jobroom2/git/refs{/sha}","trees_url":"https://api.github.com/repos/alv-ch/jobroom2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alv-ch/jobroom2/statuses/{sha}","languages_url":"https://api.github.com/repos/alv-ch/jobroom2/languages","stargazers_url":"https://api.github.com/repos/alv-ch/jobroom2/stargazers","contributors_url":"https://api.github.com/repos/alv-ch/jobroom2/contributors","subscribers_url":"https://api.github.com/repos/alv-ch/jobroom2/subscribers","subscription_url":"https://api.github.com/repos/alv-ch/jobroom2/subscription","commits_url":"https://api.github.com/repos/alv-ch/jobroom2/commits{/sha}","git_commits_url":"https://api.github.com/repos/alv-ch/jobroom2/git/commits{/sha}","comments_url":"https://api.github.com/repos/alv-ch/jobroom2/comments{/number}","issue_comment_url":"https://api.github.com/repos/alv-ch/jobroom2/issues/comments{/number}","contents_url":"https://api.github.com/repos/alv-ch/jobroom2/contents/{+path}","compare_url":"https://api.github.com/repos/alv-ch/jobroom2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alv-ch/jobroom2/merges","archive_url":"https://api.github.com/repos/alv-ch/jobroom2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alv-ch/jobroom2/downloads","issues_url":"https://api.github.com/repos/alv-ch/jobroom2/issues{/number}","pulls_url":"https://api.github.com/repos/alv-ch/jobroom2/pulls{/number}","milestones_url":"https://api.github.com/repos/alv-ch/jobroom2/milestones{/number}","notifications_url":"https://api.github.com/repos/alv-ch/jobroom2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alv-ch/jobroom2/labels{/name}","releases_url":"https://api.github.com/repos/alv-ch/jobroom2/releases{/id}","deployments_url":"https://api.github.com/repos/alv-ch/jobroom2/deployments","created_at":"2014-03-26T20:56:10Z","updated_at":"2018-08-20T14:57:59Z","pushed_at":"2018-08-21T10:15:10Z","git_url":"git://github.com/alv-ch/jobroom2.git","ssh_url":"git@github.com:alv-ch/jobroom2.git","clone_url":"https://github.com/alv-ch/jobroom2.git","svn_url":"https://github.com/alv-ch/jobroom2","homepage":"","size":10159,"stargazers_count":2,"watchers_count":2,"language":"TypeScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":4,"open_issues":3,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/alv-ch/jobroom2/pulls/726"},"html":{"href":"https://github.com/alv-ch/jobroom2/pull/726"},"issue":{"href":"https://api.github.com/repos/alv-ch/jobroom2/issues/726"},"comments":{"href":"https://api.github.com/repos/alv-ch/jobroom2/issues/726/comments"},"review_comments":{"href":"https://api.github.com/repos/alv-ch/jobroom2/pulls/726/comments"},"review_comment":{"href":"https://api.github.com/repos/alv-ch/jobroom2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alv-ch/jobroom2/pulls/726/commits"},"statuses":{"href":"https://api.github.com/repos/alv-ch/jobroom2/statuses/420e92c54f858f5fe1496d743f38478c1f95f2d9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"cjpsycos"}}