{"action":"created","comment":{"url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/pulls/comments/171498569","pull_request_review_id":100358200,"id":171498569,"diff_hunk":"@@ -0,0 +1,95 @@\n+<?php\n+\n+namespace App\\Models;\n+\n+use Illuminate\\Notifications\\Notifiable;\n+use Illuminate\\Foundation\\Auth\\User as Authenticatable;\n+use Illuminate\\Database\\Eloquent\\SoftDeletes;\n+\n+\n+class User extends Authenticatable\n+{\n+    use Notifiable;\n+    use SoftDeletes;\n+\n+    const MALE = 1;\n+    const FEMALE = 0;\n+\n+    /**\n+     * The attributes that are mass assignable.\n+     *\n+     * @var array\n+     */\n+    protected $fillable = [\n+        'name', 'email', 'password', 'phone', 'birthday',\n+        'gender', 'address', 'image', 'JLPT',\n+    ];\n+\n+    protected $attributes = [\n+        'gender' => 1,\n+        'JLPT' => 'None',","path":"app/Models/User.php","position":30,"original_position":30,"commit_id":"ada3a2ad29d2582a3192a4b8b169e800ec3f98d3","original_commit_id":"ada3a2ad29d2582a3192a4b8b169e800ec3f98d3","user":{"login":"damnnkst","id":26423205,"avatar_url":"https://avatars2.githubusercontent.com/u/26423205?v=4","gravatar_id":"","url":"https://api.github.com/users/damnnkst","html_url":"https://github.com/damnnkst","followers_url":"https://api.github.com/users/damnnkst/followers","following_url":"https://api.github.com/users/damnnkst/following{/other_user}","gists_url":"https://api.github.com/users/damnnkst/gists{/gist_id}","starred_url":"https://api.github.com/users/damnnkst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damnnkst/subscriptions","organizations_url":"https://api.github.com/users/damnnkst/orgs","repos_url":"https://api.github.com/users/damnnkst/repos","events_url":"https://api.github.com/users/damnnkst/events{/privacy}","received_events_url":"https://api.github.com/users/damnnkst/received_events","type":"User","site_admin":false},"body":"`None` để làm gì e ?","created_at":"2018-03-01T09:14:15Z","updated_at":"2018-03-01T09:14:15Z","html_url":"https://github.com/tungphandoan/laravel_timeshift/pull/4#discussion_r171498569","pull_request_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/tungphandoan/laravel_timeshift/pulls/comments/171498569"},"html":{"href":"https://github.com/tungphandoan/laravel_timeshift/pull/4#discussion_r171498569"},"pull_request":{"href":"https://api.github.com/repos/tungphandoan/laravel_timeshift/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/pulls/4","id":171308225,"html_url":"https://github.com/tungphandoan/laravel_timeshift/pull/4","diff_url":"https://github.com/tungphandoan/laravel_timeshift/pull/4.diff","patch_url":"https://github.com/tungphandoan/laravel_timeshift/pull/4.patch","issue_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/issues/4","number":4,"state":"open","locked":false,"title":"DB and Relationship","user":{"login":"linhlt311","id":35439966,"avatar_url":"https://avatars0.githubusercontent.com/u/35439966?v=4","gravatar_id":"","url":"https://api.github.com/users/linhlt311","html_url":"https://github.com/linhlt311","followers_url":"https://api.github.com/users/linhlt311/followers","following_url":"https://api.github.com/users/linhlt311/following{/other_user}","gists_url":"https://api.github.com/users/linhlt311/gists{/gist_id}","starred_url":"https://api.github.com/users/linhlt311/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linhlt311/subscriptions","organizations_url":"https://api.github.com/users/linhlt311/orgs","repos_url":"https://api.github.com/users/linhlt311/repos","events_url":"https://api.github.com/users/linhlt311/events{/privacy}","received_events_url":"https://api.github.com/users/linhlt311/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-26T08:24:40Z","updated_at":"2018-03-01T09:14:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71e1eccaab13b8993494c7033febd62718a2b8d3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/pulls/4/commits","review_comments_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/pulls/4/comments","review_comment_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/issues/4/comments","statuses_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/statuses/ada3a2ad29d2582a3192a4b8b169e800ec3f98d3","head":{"label":"tungphandoan:feature/databaseDesign","ref":"feature/databaseDesign","sha":"ada3a2ad29d2582a3192a4b8b169e800ec3f98d3","user":{"login":"tungphandoan","id":35439300,"avatar_url":"https://avatars3.githubusercontent.com/u/35439300?v=4","gravatar_id":"","url":"https://api.github.com/users/tungphandoan","html_url":"https://github.com/tungphandoan","followers_url":"https://api.github.com/users/tungphandoan/followers","following_url":"https://api.github.com/users/tungphandoan/following{/other_user}","gists_url":"https://api.github.com/users/tungphandoan/gists{/gist_id}","starred_url":"https://api.github.com/users/tungphandoan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tungphandoan/subscriptions","organizations_url":"https://api.github.com/users/tungphandoan/orgs","repos_url":"https://api.github.com/users/tungphandoan/repos","events_url":"https://api.github.com/users/tungphandoan/events{/privacy}","received_events_url":"https://api.github.com/users/tungphandoan/received_events","type":"User","site_admin":false},"repo":{"id":122308301,"name":"laravel_timeshift","full_name":"tungphandoan/laravel_timeshift","owner":{"login":"tungphandoan","id":35439300,"avatar_url":"https://avatars3.githubusercontent.com/u/35439300?v=4","gravatar_id":"","url":"https://api.github.com/users/tungphandoan","html_url":"https://github.com/tungphandoan","followers_url":"https://api.github.com/users/tungphandoan/followers","following_url":"https://api.github.com/users/tungphandoan/following{/other_user}","gists_url":"https://api.github.com/users/tungphandoan/gists{/gist_id}","starred_url":"https://api.github.com/users/tungphandoan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tungphandoan/subscriptions","organizations_url":"https://api.github.com/users/tungphandoan/orgs","repos_url":"https://api.github.com/users/tungphandoan/repos","events_url":"https://api.github.com/users/tungphandoan/events{/privacy}","received_events_url":"https://api.github.com/users/tungphandoan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tungphandoan/laravel_timeshift","description":null,"fork":false,"url":"https://api.github.com/repos/tungphandoan/laravel_timeshift","forks_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/forks","keys_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/teams","hooks_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/hooks","issue_events_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/issues/events{/number}","events_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/events","assignees_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/assignees{/user}","branches_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/branches{/branch}","tags_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/tags","blobs_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/git/refs{/sha}","trees_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/statuses/{sha}","languages_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/languages","stargazers_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/stargazers","contributors_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/contributors","subscribers_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/subscribers","subscription_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/subscription","commits_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/commits{/sha}","git_commits_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/git/commits{/sha}","comments_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/comments{/number}","issue_comment_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/issues/comments{/number}","contents_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/contents/{+path}","compare_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/merges","archive_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/downloads","issues_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/issues{/number}","pulls_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/pulls{/number}","milestones_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/milestones{/number}","notifications_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/labels{/name}","releases_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/releases{/id}","deployments_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/deployments","created_at":"2018-02-21T08:10:27Z","updated_at":"2018-02-21T08:41:01Z","pushed_at":"2018-03-01T08:26:39Z","git_url":"git://github.com/tungphandoan/laravel_timeshift.git","ssh_url":"git@github.com:tungphandoan/laravel_timeshift.git","clone_url":"https://github.com/tungphandoan/laravel_timeshift.git","svn_url":"https://github.com/tungphandoan/laravel_timeshift","homepage":null,"size":5900,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"tungphandoan:develop","ref":"develop","sha":"8996792ec931b5df321738e407d3e1dfbab178a4","user":{"login":"tungphandoan","id":35439300,"avatar_url":"https://avatars3.githubusercontent.com/u/35439300?v=4","gravatar_id":"","url":"https://api.github.com/users/tungphandoan","html_url":"https://github.com/tungphandoan","followers_url":"https://api.github.com/users/tungphandoan/followers","following_url":"https://api.github.com/users/tungphandoan/following{/other_user}","gists_url":"https://api.github.com/users/tungphandoan/gists{/gist_id}","starred_url":"https://api.github.com/users/tungphandoan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tungphandoan/subscriptions","organizations_url":"https://api.github.com/users/tungphandoan/orgs","repos_url":"https://api.github.com/users/tungphandoan/repos","events_url":"https://api.github.com/users/tungphandoan/events{/privacy}","received_events_url":"https://api.github.com/users/tungphandoan/received_events","type":"User","site_admin":false},"repo":{"id":122308301,"name":"laravel_timeshift","full_name":"tungphandoan/laravel_timeshift","owner":{"login":"tungphandoan","id":35439300,"avatar_url":"https://avatars3.githubusercontent.com/u/35439300?v=4","gravatar_id":"","url":"https://api.github.com/users/tungphandoan","html_url":"https://github.com/tungphandoan","followers_url":"https://api.github.com/users/tungphandoan/followers","following_url":"https://api.github.com/users/tungphandoan/following{/other_user}","gists_url":"https://api.github.com/users/tungphandoan/gists{/gist_id}","starred_url":"https://api.github.com/users/tungphandoan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tungphandoan/subscriptions","organizations_url":"https://api.github.com/users/tungphandoan/orgs","repos_url":"https://api.github.com/users/tungphandoan/repos","events_url":"https://api.github.com/users/tungphandoan/events{/privacy}","received_events_url":"https://api.github.com/users/tungphandoan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tungphandoan/laravel_timeshift","description":null,"fork":false,"url":"https://api.github.com/repos/tungphandoan/laravel_timeshift","forks_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/forks","keys_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/teams","hooks_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/hooks","issue_events_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/issues/events{/number}","events_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/events","assignees_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/assignees{/user}","branches_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/branches{/branch}","tags_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/tags","blobs_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/git/refs{/sha}","trees_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/statuses/{sha}","languages_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/languages","stargazers_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/stargazers","contributors_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/contributors","subscribers_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/subscribers","subscription_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/subscription","commits_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/commits{/sha}","git_commits_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/git/commits{/sha}","comments_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/comments{/number}","issue_comment_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/issues/comments{/number}","contents_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/contents/{+path}","compare_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/merges","archive_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/downloads","issues_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/issues{/number}","pulls_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/pulls{/number}","milestones_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/milestones{/number}","notifications_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/labels{/name}","releases_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/releases{/id}","deployments_url":"https://api.github.com/repos/tungphandoan/laravel_timeshift/deployments","created_at":"2018-02-21T08:10:27Z","updated_at":"2018-02-21T08:41:01Z","pushed_at":"2018-03-01T08:26:39Z","git_url":"git://github.com/tungphandoan/laravel_timeshift.git","ssh_url":"git@github.com:tungphandoan/laravel_timeshift.git","clone_url":"https://github.com/tungphandoan/laravel_timeshift.git","svn_url":"https://github.com/tungphandoan/laravel_timeshift","homepage":null,"size":5900,"stargazers_count":0,"watchers_count":0,"language":"PHP","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/tungphandoan/laravel_timeshift/pulls/4"},"html":{"href":"https://github.com/tungphandoan/laravel_timeshift/pull/4"},"issue":{"href":"https://api.github.com/repos/tungphandoan/laravel_timeshift/issues/4"},"comments":{"href":"https://api.github.com/repos/tungphandoan/laravel_timeshift/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/tungphandoan/laravel_timeshift/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/tungphandoan/laravel_timeshift/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tungphandoan/laravel_timeshift/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/tungphandoan/laravel_timeshift/statuses/ada3a2ad29d2582a3192a4b8b169e800ec3f98d3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"damnnkst"}}