{"action":"created","comment":{"url":"https://api.github.com/repos/maragatchalian/TC-Record/pulls/comments/37053543","id":37053543,"diff_hunk":"@@ -0,0 +1,356 @@\n+<?php\n+\n+class Trainee extends AppModel\n+{\n+    const MIN_EMPLOYEE_ID_LENGTH = 3;\n+    const MIN_FIRST_NAME_LENGTH = 1;\n+    const MIN_LAST_NAME_LENGTH = 1;\n+    const MIN_NICKNAME_LENGTH = 1;\n+    const MIN_SKILL_SET_LENGTH = 1;\n+    const MIN_TRAINING_STATUS_LENGTH = 1;\n+    const MIN_COURSE_STATUS_LENGTH = 1;\n+    const MIN_BATCH_YEAR_LENGTH = 2;\n+    const MIN_BATCH_TERM_LENGTH = 2;\n+    const MIN_HIRED_LENGTH = 10;\n+    const MIN_GRADUATED_LENGTH = 10;\n+\n+    const MAX_EMPLOYEE_ID_LENGTH = 11;\n+    const MAX_FIRST_NAME_LENGTH = 30;\n+    const MAX_LAST_NAME_LENGTH = 30;\n+    const MAX_NICKNAME_LENGTH = 20;\n+    const MAX_SKILL_SET_LENGTH = 20;\n+    const MAX_TRAINING_STATUS_LENGTH = 20;\n+    const MAX_COURSE_STATUS_LENGTH = 20;\n+    const MAX_BATCH_YEAR_LENGTH = 20;","path":"app/models/trainee.php","position":24,"original_position":24,"commit_id":"4db15004d9574b646baf16a50db1d331faabb8fe","original_commit_id":"db5271eb50cd0728a7afa63d0f00be5b0477b49a","user":{"login":"maragatchalian","id":10491936,"avatar_url":"https://avatars.githubusercontent.com/u/10491936?v=3","gravatar_id":"","url":"https://api.github.com/users/maragatchalian","html_url":"https://github.com/maragatchalian","followers_url":"https://api.github.com/users/maragatchalian/followers","following_url":"https://api.github.com/users/maragatchalian/following{/other_user}","gists_url":"https://api.github.com/users/maragatchalian/gists{/gist_id}","starred_url":"https://api.github.com/users/maragatchalian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maragatchalian/subscriptions","organizations_url":"https://api.github.com/users/maragatchalian/orgs","repos_url":"https://api.github.com/users/maragatchalian/repos","events_url":"https://api.github.com/users/maragatchalian/events{/privacy}","received_events_url":"https://api.github.com/users/maragatchalian/received_events","type":"User","site_admin":false},"body":"Done po, thank you :bow:\r\n--> https://github.com/maragatchalian/TC-Record/commit/91fb25da757e0f3cc7061c99eaafb44e02bff52f","created_at":"2015-08-14T07:00:31Z","updated_at":"2015-08-14T07:00:31Z","html_url":"https://github.com/maragatchalian/TC-Record/pull/1#discussion_r37053543","pull_request_url":"https://api.github.com/repos/maragatchalian/TC-Record/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/maragatchalian/TC-Record/pulls/comments/37053543"},"html":{"href":"https://github.com/maragatchalian/TC-Record/pull/1#discussion_r37053543"},"pull_request":{"href":"https://api.github.com/repos/maragatchalian/TC-Record/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/maragatchalian/TC-Record/pulls/1","id":39448479,"html_url":"https://github.com/maragatchalian/TC-Record/pull/1","diff_url":"https://github.com/maragatchalian/TC-Record/pull/1.diff","patch_url":"https://github.com/maragatchalian/TC-Record/pull/1.patch","issue_url":"https://api.github.com/repos/maragatchalian/TC-Record/issues/1","number":1,"state":"open","locked":false,"title":"dev_1.0","user":{"login":"maragatchalian","id":10491936,"avatar_url":"https://avatars.githubusercontent.com/u/10491936?v=3","gravatar_id":"","url":"https://api.github.com/users/maragatchalian","html_url":"https://github.com/maragatchalian","followers_url":"https://api.github.com/users/maragatchalian/followers","following_url":"https://api.github.com/users/maragatchalian/following{/other_user}","gists_url":"https://api.github.com/users/maragatchalian/gists{/gist_id}","starred_url":"https://api.github.com/users/maragatchalian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maragatchalian/subscriptions","organizations_url":"https://api.github.com/users/maragatchalian/orgs","repos_url":"https://api.github.com/users/maragatchalian/repos","events_url":"https://api.github.com/users/maragatchalian/events{/privacy}","received_events_url":"https://api.github.com/users/maragatchalian/received_events","type":"User","site_admin":false},"body":"<h1> TC Records Project </h1>\r\n\r\n<b> Module 1 - Registration/Login</b>\r\n• As Admin\r\n• As Trainee (Pending)\r\n\r\n<b>Module 2 - Trainees (List and Category)</b>\r\nList/Sort Trainees by:\r\n•  All (order by date hired)\r\n•  Status (On-Training, Graduated, EOC)\r\n•  Batch\r\n•  Course\r\n•  Primary Skill\r\n•  Exam Date \r\n\r\n<b>Module 3 - Profile (Trainees)</b>\r\nAdd/Edit:\r\n•  Name\r\n•  Skill Set\r\n•  Course\r\n•  Date Hired\r\n•  Date Graduated\r\n\r\n<b>Module 4 - Courses Available</b>\r\nAdd/Edit/Delete: \r\n• Courses/Subcourses\r\n\r\n<b>Module 5 - Exam Scores</b>\r\n•  Add/Edit/Delete Scores\r\n\r\n<b>Module 6 - TC Progress (Low Priority)</b>\r\n• Course Start/End\r\n• Exam Date\r\n\r\n","created_at":"2015-07-08T07:25:55Z","updated_at":"2015-08-14T07:00:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df2a37d9f4ed2062d8d077ab36f948d35acb0b67","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/maragatchalian/TC-Record/pulls/1/commits","review_comments_url":"https://api.github.com/repos/maragatchalian/TC-Record/pulls/1/comments","review_comment_url":"https://api.github.com/repos/maragatchalian/TC-Record/pulls/comments{/number}","comments_url":"https://api.github.com/repos/maragatchalian/TC-Record/issues/1/comments","statuses_url":"https://api.github.com/repos/maragatchalian/TC-Record/statuses/4db15004d9574b646baf16a50db1d331faabb8fe","head":{"label":"maragatchalian:dev_1.0","ref":"dev_1.0","sha":"4db15004d9574b646baf16a50db1d331faabb8fe","user":{"login":"maragatchalian","id":10491936,"avatar_url":"https://avatars.githubusercontent.com/u/10491936?v=3","gravatar_id":"","url":"https://api.github.com/users/maragatchalian","html_url":"https://github.com/maragatchalian","followers_url":"https://api.github.com/users/maragatchalian/followers","following_url":"https://api.github.com/users/maragatchalian/following{/other_user}","gists_url":"https://api.github.com/users/maragatchalian/gists{/gist_id}","starred_url":"https://api.github.com/users/maragatchalian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maragatchalian/subscriptions","organizations_url":"https://api.github.com/users/maragatchalian/orgs","repos_url":"https://api.github.com/users/maragatchalian/repos","events_url":"https://api.github.com/users/maragatchalian/events{/privacy}","received_events_url":"https://api.github.com/users/maragatchalian/received_events","type":"User","site_admin":false},"repo":{"id":36851635,"name":"TC-Record","full_name":"maragatchalian/TC-Record","owner":{"login":"maragatchalian","id":10491936,"avatar_url":"https://avatars.githubusercontent.com/u/10491936?v=3","gravatar_id":"","url":"https://api.github.com/users/maragatchalian","html_url":"https://github.com/maragatchalian","followers_url":"https://api.github.com/users/maragatchalian/followers","following_url":"https://api.github.com/users/maragatchalian/following{/other_user}","gists_url":"https://api.github.com/users/maragatchalian/gists{/gist_id}","starred_url":"https://api.github.com/users/maragatchalian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maragatchalian/subscriptions","organizations_url":"https://api.github.com/users/maragatchalian/orgs","repos_url":"https://api.github.com/users/maragatchalian/repos","events_url":"https://api.github.com/users/maragatchalian/events{/privacy}","received_events_url":"https://api.github.com/users/maragatchalian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maragatchalian/TC-Record","description":"","fork":false,"url":"https://api.github.com/repos/maragatchalian/TC-Record","forks_url":"https://api.github.com/repos/maragatchalian/TC-Record/forks","keys_url":"https://api.github.com/repos/maragatchalian/TC-Record/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maragatchalian/TC-Record/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maragatchalian/TC-Record/teams","hooks_url":"https://api.github.com/repos/maragatchalian/TC-Record/hooks","issue_events_url":"https://api.github.com/repos/maragatchalian/TC-Record/issues/events{/number}","events_url":"https://api.github.com/repos/maragatchalian/TC-Record/events","assignees_url":"https://api.github.com/repos/maragatchalian/TC-Record/assignees{/user}","branches_url":"https://api.github.com/repos/maragatchalian/TC-Record/branches{/branch}","tags_url":"https://api.github.com/repos/maragatchalian/TC-Record/tags","blobs_url":"https://api.github.com/repos/maragatchalian/TC-Record/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maragatchalian/TC-Record/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maragatchalian/TC-Record/git/refs{/sha}","trees_url":"https://api.github.com/repos/maragatchalian/TC-Record/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maragatchalian/TC-Record/statuses/{sha}","languages_url":"https://api.github.com/repos/maragatchalian/TC-Record/languages","stargazers_url":"https://api.github.com/repos/maragatchalian/TC-Record/stargazers","contributors_url":"https://api.github.com/repos/maragatchalian/TC-Record/contributors","subscribers_url":"https://api.github.com/repos/maragatchalian/TC-Record/subscribers","subscription_url":"https://api.github.com/repos/maragatchalian/TC-Record/subscription","commits_url":"https://api.github.com/repos/maragatchalian/TC-Record/commits{/sha}","git_commits_url":"https://api.github.com/repos/maragatchalian/TC-Record/git/commits{/sha}","comments_url":"https://api.github.com/repos/maragatchalian/TC-Record/comments{/number}","issue_comment_url":"https://api.github.com/repos/maragatchalian/TC-Record/issues/comments{/number}","contents_url":"https://api.github.com/repos/maragatchalian/TC-Record/contents/{+path}","compare_url":"https://api.github.com/repos/maragatchalian/TC-Record/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maragatchalian/TC-Record/merges","archive_url":"https://api.github.com/repos/maragatchalian/TC-Record/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maragatchalian/TC-Record/downloads","issues_url":"https://api.github.com/repos/maragatchalian/TC-Record/issues{/number}","pulls_url":"https://api.github.com/repos/maragatchalian/TC-Record/pulls{/number}","milestones_url":"https://api.github.com/repos/maragatchalian/TC-Record/milestones{/number}","notifications_url":"https://api.github.com/repos/maragatchalian/TC-Record/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maragatchalian/TC-Record/labels{/name}","releases_url":"https://api.github.com/repos/maragatchalian/TC-Record/releases{/id}","created_at":"2015-06-04T06:09:08Z","updated_at":"2015-06-04T06:25:18Z","pushed_at":"2015-08-14T06:59:27Z","git_url":"git://github.com/maragatchalian/TC-Record.git","ssh_url":"git@github.com:maragatchalian/TC-Record.git","clone_url":"https://github.com/maragatchalian/TC-Record.git","svn_url":"https://github.com/maragatchalian/TC-Record","homepage":null,"size":520,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"dev_1.0"}},"base":{"label":"maragatchalian:master","ref":"master","sha":"d272f184728ceac5866e4fb3eb5ffcab55637250","user":{"login":"maragatchalian","id":10491936,"avatar_url":"https://avatars.githubusercontent.com/u/10491936?v=3","gravatar_id":"","url":"https://api.github.com/users/maragatchalian","html_url":"https://github.com/maragatchalian","followers_url":"https://api.github.com/users/maragatchalian/followers","following_url":"https://api.github.com/users/maragatchalian/following{/other_user}","gists_url":"https://api.github.com/users/maragatchalian/gists{/gist_id}","starred_url":"https://api.github.com/users/maragatchalian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maragatchalian/subscriptions","organizations_url":"https://api.github.com/users/maragatchalian/orgs","repos_url":"https://api.github.com/users/maragatchalian/repos","events_url":"https://api.github.com/users/maragatchalian/events{/privacy}","received_events_url":"https://api.github.com/users/maragatchalian/received_events","type":"User","site_admin":false},"repo":{"id":36851635,"name":"TC-Record","full_name":"maragatchalian/TC-Record","owner":{"login":"maragatchalian","id":10491936,"avatar_url":"https://avatars.githubusercontent.com/u/10491936?v=3","gravatar_id":"","url":"https://api.github.com/users/maragatchalian","html_url":"https://github.com/maragatchalian","followers_url":"https://api.github.com/users/maragatchalian/followers","following_url":"https://api.github.com/users/maragatchalian/following{/other_user}","gists_url":"https://api.github.com/users/maragatchalian/gists{/gist_id}","starred_url":"https://api.github.com/users/maragatchalian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maragatchalian/subscriptions","organizations_url":"https://api.github.com/users/maragatchalian/orgs","repos_url":"https://api.github.com/users/maragatchalian/repos","events_url":"https://api.github.com/users/maragatchalian/events{/privacy}","received_events_url":"https://api.github.com/users/maragatchalian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maragatchalian/TC-Record","description":"","fork":false,"url":"https://api.github.com/repos/maragatchalian/TC-Record","forks_url":"https://api.github.com/repos/maragatchalian/TC-Record/forks","keys_url":"https://api.github.com/repos/maragatchalian/TC-Record/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maragatchalian/TC-Record/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maragatchalian/TC-Record/teams","hooks_url":"https://api.github.com/repos/maragatchalian/TC-Record/hooks","issue_events_url":"https://api.github.com/repos/maragatchalian/TC-Record/issues/events{/number}","events_url":"https://api.github.com/repos/maragatchalian/TC-Record/events","assignees_url":"https://api.github.com/repos/maragatchalian/TC-Record/assignees{/user}","branches_url":"https://api.github.com/repos/maragatchalian/TC-Record/branches{/branch}","tags_url":"https://api.github.com/repos/maragatchalian/TC-Record/tags","blobs_url":"https://api.github.com/repos/maragatchalian/TC-Record/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maragatchalian/TC-Record/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maragatchalian/TC-Record/git/refs{/sha}","trees_url":"https://api.github.com/repos/maragatchalian/TC-Record/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maragatchalian/TC-Record/statuses/{sha}","languages_url":"https://api.github.com/repos/maragatchalian/TC-Record/languages","stargazers_url":"https://api.github.com/repos/maragatchalian/TC-Record/stargazers","contributors_url":"https://api.github.com/repos/maragatchalian/TC-Record/contributors","subscribers_url":"https://api.github.com/repos/maragatchalian/TC-Record/subscribers","subscription_url":"https://api.github.com/repos/maragatchalian/TC-Record/subscription","commits_url":"https://api.github.com/repos/maragatchalian/TC-Record/commits{/sha}","git_commits_url":"https://api.github.com/repos/maragatchalian/TC-Record/git/commits{/sha}","comments_url":"https://api.github.com/repos/maragatchalian/TC-Record/comments{/number}","issue_comment_url":"https://api.github.com/repos/maragatchalian/TC-Record/issues/comments{/number}","contents_url":"https://api.github.com/repos/maragatchalian/TC-Record/contents/{+path}","compare_url":"https://api.github.com/repos/maragatchalian/TC-Record/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maragatchalian/TC-Record/merges","archive_url":"https://api.github.com/repos/maragatchalian/TC-Record/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maragatchalian/TC-Record/downloads","issues_url":"https://api.github.com/repos/maragatchalian/TC-Record/issues{/number}","pulls_url":"https://api.github.com/repos/maragatchalian/TC-Record/pulls{/number}","milestones_url":"https://api.github.com/repos/maragatchalian/TC-Record/milestones{/number}","notifications_url":"https://api.github.com/repos/maragatchalian/TC-Record/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maragatchalian/TC-Record/labels{/name}","releases_url":"https://api.github.com/repos/maragatchalian/TC-Record/releases{/id}","created_at":"2015-06-04T06:09:08Z","updated_at":"2015-06-04T06:25:18Z","pushed_at":"2015-08-14T06:59:27Z","git_url":"git://github.com/maragatchalian/TC-Record.git","ssh_url":"git@github.com:maragatchalian/TC-Record.git","clone_url":"https://github.com/maragatchalian/TC-Record.git","svn_url":"https://github.com/maragatchalian/TC-Record","homepage":null,"size":520,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"dev_1.0"}},"_links":{"self":{"href":"https://api.github.com/repos/maragatchalian/TC-Record/pulls/1"},"html":{"href":"https://github.com/maragatchalian/TC-Record/pull/1"},"issue":{"href":"https://api.github.com/repos/maragatchalian/TC-Record/issues/1"},"comments":{"href":"https://api.github.com/repos/maragatchalian/TC-Record/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/maragatchalian/TC-Record/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/maragatchalian/TC-Record/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/maragatchalian/TC-Record/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/maragatchalian/TC-Record/statuses/4db15004d9574b646baf16a50db1d331faabb8fe"}}}}