{"action":"created","comment":{"url":"https://api.github.com/repos/backumich/vertexcrm/pulls/comments/125530371","pull_request_review_id":47926930,"id":125530371,"diff_hunk":"@@ -1,66 +1,66 @@\n package ua.com.vertex.beans;\n \n+import org.springframework.format.annotation.DateTimeFormat;\n+\n+import javax.validation.constraints.DecimalMax;\n+import javax.validation.constraints.DecimalMin;\n+import javax.validation.constraints.NotNull;\n+import javax.validation.constraints.Size;\n import java.math.BigDecimal;\n-import java.time.LocalDateTime;\n+import java.time.LocalDate;\n import java.util.Objects;\n \n public class Course {\n+    private final String COURSE_NAME_MSG = \"Course's name must be longer than 5 and less than 256 characters\";\n+    private final String COURSE_TEACHER_NAME_MSG = \"Teacher's name must be longer than 2 and less than 256 characters\";\n+    private final String SCHEDULE_MSG = \"The schedule must be longer than 2 and less than 256 characters\";\n+    private final String NOTES_MSG = \"The schedule must be up to 256 characters long\";\n \n     private int id;\n-    private BigDecimal price;\n-    private String name, teacherName, schedule, notes;\n-    private LocalDateTime start;\n+\n+    @Size(min = 5, max = 256, message = COURSE_NAME_MSG)","path":"web/src/main/java/ua/com/vertex/beans/Course.java","position":25,"original_position":25,"commit_id":"17164edc3bc83d9bebd6f0a1af42ae034ab6d89d","original_commit_id":"17164edc3bc83d9bebd6f0a1af42ae034ab6d89d","user":{"login":"masteriza","id":13393497,"avatar_url":"https://avatars1.githubusercontent.com/u/13393497?v=3","gravatar_id":"","url":"https://api.github.com/users/masteriza","html_url":"https://github.com/masteriza","followers_url":"https://api.github.com/users/masteriza/followers","following_url":"https://api.github.com/users/masteriza/following{/other_user}","gists_url":"https://api.github.com/users/masteriza/gists{/gist_id}","starred_url":"https://api.github.com/users/masteriza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masteriza/subscriptions","organizations_url":"https://api.github.com/users/masteriza/orgs","repos_url":"https://api.github.com/users/masteriza/repos","events_url":"https://api.github.com/users/masteriza/events{/privacy}","received_events_url":"https://api.github.com/users/masteriza/received_events","type":"User","site_admin":false},"body":"+","created_at":"2017-07-04T21:16:53Z","updated_at":"2017-07-04T21:16:53Z","html_url":"https://github.com/backumich/vertexcrm/pull/10#discussion_r125530371","pull_request_url":"https://api.github.com/repos/backumich/vertexcrm/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/backumich/vertexcrm/pulls/comments/125530371"},"html":{"href":"https://github.com/backumich/vertexcrm/pull/10#discussion_r125530371"},"pull_request":{"href":"https://api.github.com/repos/backumich/vertexcrm/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/backumich/vertexcrm/pulls/10","id":128533639,"html_url":"https://github.com/backumich/vertexcrm/pull/10","diff_url":"https://github.com/backumich/vertexcrm/pull/10.diff","patch_url":"https://github.com/backumich/vertexcrm/pull/10.patch","issue_url":"https://api.github.com/repos/backumich/vertexcrm/issues/10","number":10,"state":"open","locked":false,"title":"Viacheslav chernyshov","user":{"login":"masteriza","id":13393497,"avatar_url":"https://avatars1.githubusercontent.com/u/13393497?v=3","gravatar_id":"","url":"https://api.github.com/users/masteriza","html_url":"https://github.com/masteriza","followers_url":"https://api.github.com/users/masteriza/followers","following_url":"https://api.github.com/users/masteriza/following{/other_user}","gists_url":"https://api.github.com/users/masteriza/gists{/gist_id}","starred_url":"https://api.github.com/users/masteriza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masteriza/subscriptions","organizations_url":"https://api.github.com/users/masteriza/orgs","repos_url":"https://api.github.com/users/masteriza/repos","events_url":"https://api.github.com/users/masteriza/events{/privacy}","received_events_url":"https://api.github.com/users/masteriza/received_events","type":"User","site_admin":false},"body":"Dima, please check and confirm pull request. (=","created_at":"2017-07-02T20:54:40Z","updated_at":"2017-07-04T21:16:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ed4d19cbeb878bdc3c01184ca5c40cc65b89f5f","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/backumich/vertexcrm/pulls/10/commits","review_comments_url":"https://api.github.com/repos/backumich/vertexcrm/pulls/10/comments","review_comment_url":"https://api.github.com/repos/backumich/vertexcrm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/backumich/vertexcrm/issues/10/comments","statuses_url":"https://api.github.com/repos/backumich/vertexcrm/statuses/17164edc3bc83d9bebd6f0a1af42ae034ab6d89d","head":{"label":"backumich:ViacheslavChernyshov","ref":"ViacheslavChernyshov","sha":"17164edc3bc83d9bebd6f0a1af42ae034ab6d89d","user":{"login":"backumich","id":10909896,"avatar_url":"https://avatars2.githubusercontent.com/u/10909896?v=3","gravatar_id":"","url":"https://api.github.com/users/backumich","html_url":"https://github.com/backumich","followers_url":"https://api.github.com/users/backumich/followers","following_url":"https://api.github.com/users/backumich/following{/other_user}","gists_url":"https://api.github.com/users/backumich/gists{/gist_id}","starred_url":"https://api.github.com/users/backumich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/backumich/subscriptions","organizations_url":"https://api.github.com/users/backumich/orgs","repos_url":"https://api.github.com/users/backumich/repos","events_url":"https://api.github.com/users/backumich/events{/privacy}","received_events_url":"https://api.github.com/users/backumich/received_events","type":"User","site_admin":false},"repo":{"id":73221402,"name":"vertexcrm","full_name":"backumich/vertexcrm","owner":{"login":"backumich","id":10909896,"avatar_url":"https://avatars2.githubusercontent.com/u/10909896?v=3","gravatar_id":"","url":"https://api.github.com/users/backumich","html_url":"https://github.com/backumich","followers_url":"https://api.github.com/users/backumich/followers","following_url":"https://api.github.com/users/backumich/following{/other_user}","gists_url":"https://api.github.com/users/backumich/gists{/gist_id}","starred_url":"https://api.github.com/users/backumich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/backumich/subscriptions","organizations_url":"https://api.github.com/users/backumich/orgs","repos_url":"https://api.github.com/users/backumich/repos","events_url":"https://api.github.com/users/backumich/events{/privacy}","received_events_url":"https://api.github.com/users/backumich/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/backumich/vertexcrm","description":null,"fork":false,"url":"https://api.github.com/repos/backumich/vertexcrm","forks_url":"https://api.github.com/repos/backumich/vertexcrm/forks","keys_url":"https://api.github.com/repos/backumich/vertexcrm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/backumich/vertexcrm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/backumich/vertexcrm/teams","hooks_url":"https://api.github.com/repos/backumich/vertexcrm/hooks","issue_events_url":"https://api.github.com/repos/backumich/vertexcrm/issues/events{/number}","events_url":"https://api.github.com/repos/backumich/vertexcrm/events","assignees_url":"https://api.github.com/repos/backumich/vertexcrm/assignees{/user}","branches_url":"https://api.github.com/repos/backumich/vertexcrm/branches{/branch}","tags_url":"https://api.github.com/repos/backumich/vertexcrm/tags","blobs_url":"https://api.github.com/repos/backumich/vertexcrm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/backumich/vertexcrm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/backumich/vertexcrm/git/refs{/sha}","trees_url":"https://api.github.com/repos/backumich/vertexcrm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/backumich/vertexcrm/statuses/{sha}","languages_url":"https://api.github.com/repos/backumich/vertexcrm/languages","stargazers_url":"https://api.github.com/repos/backumich/vertexcrm/stargazers","contributors_url":"https://api.github.com/repos/backumich/vertexcrm/contributors","subscribers_url":"https://api.github.com/repos/backumich/vertexcrm/subscribers","subscription_url":"https://api.github.com/repos/backumich/vertexcrm/subscription","commits_url":"https://api.github.com/repos/backumich/vertexcrm/commits{/sha}","git_commits_url":"https://api.github.com/repos/backumich/vertexcrm/git/commits{/sha}","comments_url":"https://api.github.com/repos/backumich/vertexcrm/comments{/number}","issue_comment_url":"https://api.github.com/repos/backumich/vertexcrm/issues/comments{/number}","contents_url":"https://api.github.com/repos/backumich/vertexcrm/contents/{+path}","compare_url":"https://api.github.com/repos/backumich/vertexcrm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/backumich/vertexcrm/merges","archive_url":"https://api.github.com/repos/backumich/vertexcrm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/backumich/vertexcrm/downloads","issues_url":"https://api.github.com/repos/backumich/vertexcrm/issues{/number}","pulls_url":"https://api.github.com/repos/backumich/vertexcrm/pulls{/number}","milestones_url":"https://api.github.com/repos/backumich/vertexcrm/milestones{/number}","notifications_url":"https://api.github.com/repos/backumich/vertexcrm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/backumich/vertexcrm/labels{/name}","releases_url":"https://api.github.com/repos/backumich/vertexcrm/releases{/id}","deployments_url":"https://api.github.com/repos/backumich/vertexcrm/deployments","created_at":"2016-11-08T19:49:14Z","updated_at":"2017-01-09T11:11:26Z","pushed_at":"2017-07-04T20:00:41Z","git_url":"git://github.com/backumich/vertexcrm.git","ssh_url":"git@github.com:backumich/vertexcrm.git","clone_url":"https://github.com/backumich/vertexcrm.git","svn_url":"https://github.com/backumich/vertexcrm","homepage":null,"size":4205,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"backumich:dev","ref":"dev","sha":"7277ff3c9aac1541f94693636768afc1d7010005","user":{"login":"backumich","id":10909896,"avatar_url":"https://avatars2.githubusercontent.com/u/10909896?v=3","gravatar_id":"","url":"https://api.github.com/users/backumich","html_url":"https://github.com/backumich","followers_url":"https://api.github.com/users/backumich/followers","following_url":"https://api.github.com/users/backumich/following{/other_user}","gists_url":"https://api.github.com/users/backumich/gists{/gist_id}","starred_url":"https://api.github.com/users/backumich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/backumich/subscriptions","organizations_url":"https://api.github.com/users/backumich/orgs","repos_url":"https://api.github.com/users/backumich/repos","events_url":"https://api.github.com/users/backumich/events{/privacy}","received_events_url":"https://api.github.com/users/backumich/received_events","type":"User","site_admin":false},"repo":{"id":73221402,"name":"vertexcrm","full_name":"backumich/vertexcrm","owner":{"login":"backumich","id":10909896,"avatar_url":"https://avatars2.githubusercontent.com/u/10909896?v=3","gravatar_id":"","url":"https://api.github.com/users/backumich","html_url":"https://github.com/backumich","followers_url":"https://api.github.com/users/backumich/followers","following_url":"https://api.github.com/users/backumich/following{/other_user}","gists_url":"https://api.github.com/users/backumich/gists{/gist_id}","starred_url":"https://api.github.com/users/backumich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/backumich/subscriptions","organizations_url":"https://api.github.com/users/backumich/orgs","repos_url":"https://api.github.com/users/backumich/repos","events_url":"https://api.github.com/users/backumich/events{/privacy}","received_events_url":"https://api.github.com/users/backumich/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/backumich/vertexcrm","description":null,"fork":false,"url":"https://api.github.com/repos/backumich/vertexcrm","forks_url":"https://api.github.com/repos/backumich/vertexcrm/forks","keys_url":"https://api.github.com/repos/backumich/vertexcrm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/backumich/vertexcrm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/backumich/vertexcrm/teams","hooks_url":"https://api.github.com/repos/backumich/vertexcrm/hooks","issue_events_url":"https://api.github.com/repos/backumich/vertexcrm/issues/events{/number}","events_url":"https://api.github.com/repos/backumich/vertexcrm/events","assignees_url":"https://api.github.com/repos/backumich/vertexcrm/assignees{/user}","branches_url":"https://api.github.com/repos/backumich/vertexcrm/branches{/branch}","tags_url":"https://api.github.com/repos/backumich/vertexcrm/tags","blobs_url":"https://api.github.com/repos/backumich/vertexcrm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/backumich/vertexcrm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/backumich/vertexcrm/git/refs{/sha}","trees_url":"https://api.github.com/repos/backumich/vertexcrm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/backumich/vertexcrm/statuses/{sha}","languages_url":"https://api.github.com/repos/backumich/vertexcrm/languages","stargazers_url":"https://api.github.com/repos/backumich/vertexcrm/stargazers","contributors_url":"https://api.github.com/repos/backumich/vertexcrm/contributors","subscribers_url":"https://api.github.com/repos/backumich/vertexcrm/subscribers","subscription_url":"https://api.github.com/repos/backumich/vertexcrm/subscription","commits_url":"https://api.github.com/repos/backumich/vertexcrm/commits{/sha}","git_commits_url":"https://api.github.com/repos/backumich/vertexcrm/git/commits{/sha}","comments_url":"https://api.github.com/repos/backumich/vertexcrm/comments{/number}","issue_comment_url":"https://api.github.com/repos/backumich/vertexcrm/issues/comments{/number}","contents_url":"https://api.github.com/repos/backumich/vertexcrm/contents/{+path}","compare_url":"https://api.github.com/repos/backumich/vertexcrm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/backumich/vertexcrm/merges","archive_url":"https://api.github.com/repos/backumich/vertexcrm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/backumich/vertexcrm/downloads","issues_url":"https://api.github.com/repos/backumich/vertexcrm/issues{/number}","pulls_url":"https://api.github.com/repos/backumich/vertexcrm/pulls{/number}","milestones_url":"https://api.github.com/repos/backumich/vertexcrm/milestones{/number}","notifications_url":"https://api.github.com/repos/backumich/vertexcrm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/backumich/vertexcrm/labels{/name}","releases_url":"https://api.github.com/repos/backumich/vertexcrm/releases{/id}","deployments_url":"https://api.github.com/repos/backumich/vertexcrm/deployments","created_at":"2016-11-08T19:49:14Z","updated_at":"2017-01-09T11:11:26Z","pushed_at":"2017-07-04T20:00:41Z","git_url":"git://github.com/backumich/vertexcrm.git","ssh_url":"git@github.com:backumich/vertexcrm.git","clone_url":"https://github.com/backumich/vertexcrm.git","svn_url":"https://github.com/backumich/vertexcrm","homepage":null,"size":4205,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/backumich/vertexcrm/pulls/10"},"html":{"href":"https://github.com/backumich/vertexcrm/pull/10"},"issue":{"href":"https://api.github.com/repos/backumich/vertexcrm/issues/10"},"comments":{"href":"https://api.github.com/repos/backumich/vertexcrm/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/backumich/vertexcrm/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/backumich/vertexcrm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/backumich/vertexcrm/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/backumich/vertexcrm/statuses/17164edc3bc83d9bebd6f0a1af42ae034ab6d89d"}}}}
{"actor":{"display_login":"masteriza"}}