{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/ffn_07/pulls/comments/89472397","pull_request_review_id":10017142,"id":89472397,"diff_hunk":"@@ -20,6 +49,16 @@ public function team()\n     \treturn $this->belongsTo(Team::class);\n     }\n \n+    public function team1()\n+    {\n+        return $this->belongsTo(Team::class);\n+    }\n+\n+    public function team2()\n+    {\n+        return $this->belongsTo(Team::class);\n+    }","path":"app/Match.php","position":53,"original_position":53,"commit_id":"ddb221bdd454cac9f6ad894d47f43f05b7c6e141","original_commit_id":"ddb221bdd454cac9f6ad894d47f43f05b7c6e141","user":{"login":"HoangThiTuanDung","id":5584520,"avatar_url":"https://avatars.githubusercontent.com/u/5584520?v=3","gravatar_id":"","url":"https://api.github.com/users/HoangThiTuanDung","html_url":"https://github.com/HoangThiTuanDung","followers_url":"https://api.github.com/users/HoangThiTuanDung/followers","following_url":"https://api.github.com/users/HoangThiTuanDung/following{/other_user}","gists_url":"https://api.github.com/users/HoangThiTuanDung/gists{/gist_id}","starred_url":"https://api.github.com/users/HoangThiTuanDung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HoangThiTuanDung/subscriptions","organizations_url":"https://api.github.com/users/HoangThiTuanDung/orgs","repos_url":"https://api.github.com/users/HoangThiTuanDung/repos","events_url":"https://api.github.com/users/HoangThiTuanDung/events{/privacy}","received_events_url":"https://api.github.com/users/HoangThiTuanDung/received_events","type":"User","site_admin":false},"body":"Em cần sử dụng 2 trường team1_id với team2_id thì mới lấy được thông tin của team chứ?","created_at":"2016-11-24T10:38:05Z","updated_at":"2016-11-24T10:38:05Z","html_url":"https://github.com/framgia/ffn_07/pull/31#discussion_r89472397","pull_request_url":"https://api.github.com/repos/framgia/ffn_07/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/framgia/ffn_07/pulls/comments/89472397"},"html":{"href":"https://github.com/framgia/ffn_07/pull/31#discussion_r89472397"},"pull_request":{"href":"https://api.github.com/repos/framgia/ffn_07/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/ffn_07/pulls/31","id":95141528,"html_url":"https://github.com/framgia/ffn_07/pull/31","diff_url":"https://github.com/framgia/ffn_07/pull/31.diff","patch_url":"https://github.com/framgia/ffn_07/pull/31.patch","issue_url":"https://api.github.com/repos/framgia/ffn_07/issues/31","number":31,"state":"open","locked":false,"title":"Create + show all match","user":{"login":"chukimthang","id":17583084,"avatar_url":"https://avatars.githubusercontent.com/u/17583084?v=3","gravatar_id":"","url":"https://api.github.com/users/chukimthang","html_url":"https://github.com/chukimthang","followers_url":"https://api.github.com/users/chukimthang/followers","following_url":"https://api.github.com/users/chukimthang/following{/other_user}","gists_url":"https://api.github.com/users/chukimthang/gists{/gist_id}","starred_url":"https://api.github.com/users/chukimthang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chukimthang/subscriptions","organizations_url":"https://api.github.com/users/chukimthang/orgs","repos_url":"https://api.github.com/users/chukimthang/repos","events_url":"https://api.github.com/users/chukimthang/events{/privacy}","received_events_url":"https://api.github.com/users/chukimthang/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-24T09:19:43Z","updated_at":"2016-11-24T10:38:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66ab14dae04d22e8f94b64632fb3917525dcd1bf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/ffn_07/pulls/31/commits","review_comments_url":"https://api.github.com/repos/framgia/ffn_07/pulls/31/comments","review_comment_url":"https://api.github.com/repos/framgia/ffn_07/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/ffn_07/issues/31/comments","statuses_url":"https://api.github.com/repos/framgia/ffn_07/statuses/ddb221bdd454cac9f6ad894d47f43f05b7c6e141","head":{"label":"chukimthang:create_matchs","ref":"create_matchs","sha":"ddb221bdd454cac9f6ad894d47f43f05b7c6e141","user":{"login":"chukimthang","id":17583084,"avatar_url":"https://avatars.githubusercontent.com/u/17583084?v=3","gravatar_id":"","url":"https://api.github.com/users/chukimthang","html_url":"https://github.com/chukimthang","followers_url":"https://api.github.com/users/chukimthang/followers","following_url":"https://api.github.com/users/chukimthang/following{/other_user}","gists_url":"https://api.github.com/users/chukimthang/gists{/gist_id}","starred_url":"https://api.github.com/users/chukimthang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chukimthang/subscriptions","organizations_url":"https://api.github.com/users/chukimthang/orgs","repos_url":"https://api.github.com/users/chukimthang/repos","events_url":"https://api.github.com/users/chukimthang/events{/privacy}","received_events_url":"https://api.github.com/users/chukimthang/received_events","type":"User","site_admin":false},"repo":{"id":72757960,"name":"ffn_07","full_name":"chukimthang/ffn_07","owner":{"login":"chukimthang","id":17583084,"avatar_url":"https://avatars.githubusercontent.com/u/17583084?v=3","gravatar_id":"","url":"https://api.github.com/users/chukimthang","html_url":"https://github.com/chukimthang","followers_url":"https://api.github.com/users/chukimthang/followers","following_url":"https://api.github.com/users/chukimthang/following{/other_user}","gists_url":"https://api.github.com/users/chukimthang/gists{/gist_id}","starred_url":"https://api.github.com/users/chukimthang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chukimthang/subscriptions","organizations_url":"https://api.github.com/users/chukimthang/orgs","repos_url":"https://api.github.com/users/chukimthang/repos","events_url":"https://api.github.com/users/chukimthang/events{/privacy}","received_events_url":"https://api.github.com/users/chukimthang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chukimthang/ffn_07","description":"Framgia Football News (training)","fork":true,"url":"https://api.github.com/repos/chukimthang/ffn_07","forks_url":"https://api.github.com/repos/chukimthang/ffn_07/forks","keys_url":"https://api.github.com/repos/chukimthang/ffn_07/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chukimthang/ffn_07/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chukimthang/ffn_07/teams","hooks_url":"https://api.github.com/repos/chukimthang/ffn_07/hooks","issue_events_url":"https://api.github.com/repos/chukimthang/ffn_07/issues/events{/number}","events_url":"https://api.github.com/repos/chukimthang/ffn_07/events","assignees_url":"https://api.github.com/repos/chukimthang/ffn_07/assignees{/user}","branches_url":"https://api.github.com/repos/chukimthang/ffn_07/branches{/branch}","tags_url":"https://api.github.com/repos/chukimthang/ffn_07/tags","blobs_url":"https://api.github.com/repos/chukimthang/ffn_07/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chukimthang/ffn_07/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chukimthang/ffn_07/git/refs{/sha}","trees_url":"https://api.github.com/repos/chukimthang/ffn_07/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chukimthang/ffn_07/statuses/{sha}","languages_url":"https://api.github.com/repos/chukimthang/ffn_07/languages","stargazers_url":"https://api.github.com/repos/chukimthang/ffn_07/stargazers","contributors_url":"https://api.github.com/repos/chukimthang/ffn_07/contributors","subscribers_url":"https://api.github.com/repos/chukimthang/ffn_07/subscribers","subscription_url":"https://api.github.com/repos/chukimthang/ffn_07/subscription","commits_url":"https://api.github.com/repos/chukimthang/ffn_07/commits{/sha}","git_commits_url":"https://api.github.com/repos/chukimthang/ffn_07/git/commits{/sha}","comments_url":"https://api.github.com/repos/chukimthang/ffn_07/comments{/number}","issue_comment_url":"https://api.github.com/repos/chukimthang/ffn_07/issues/comments{/number}","contents_url":"https://api.github.com/repos/chukimthang/ffn_07/contents/{+path}","compare_url":"https://api.github.com/repos/chukimthang/ffn_07/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chukimthang/ffn_07/merges","archive_url":"https://api.github.com/repos/chukimthang/ffn_07/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chukimthang/ffn_07/downloads","issues_url":"https://api.github.com/repos/chukimthang/ffn_07/issues{/number}","pulls_url":"https://api.github.com/repos/chukimthang/ffn_07/pulls{/number}","milestones_url":"https://api.github.com/repos/chukimthang/ffn_07/milestones{/number}","notifications_url":"https://api.github.com/repos/chukimthang/ffn_07/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chukimthang/ffn_07/labels{/name}","releases_url":"https://api.github.com/repos/chukimthang/ffn_07/releases{/id}","deployments_url":"https://api.github.com/repos/chukimthang/ffn_07/deployments","created_at":"2016-11-03T15:12:52Z","updated_at":"2016-11-03T08:07:05Z","pushed_at":"2016-11-24T09:28:51Z","git_url":"git://github.com/chukimthang/ffn_07.git","ssh_url":"git@github.com:chukimthang/ffn_07.git","clone_url":"https://github.com/chukimthang/ffn_07.git","svn_url":"https://github.com/chukimthang/ffn_07","homepage":null,"size":370,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"framgia:develop","ref":"develop","sha":"c54454d65a21cf91cdaa1c73a9da80e283ea37e4","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":72722441,"name":"ffn_07","full_name":"framgia/ffn_07","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/ffn_07","description":"Framgia Football News (training)","fork":false,"url":"https://api.github.com/repos/framgia/ffn_07","forks_url":"https://api.github.com/repos/framgia/ffn_07/forks","keys_url":"https://api.github.com/repos/framgia/ffn_07/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/ffn_07/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/ffn_07/teams","hooks_url":"https://api.github.com/repos/framgia/ffn_07/hooks","issue_events_url":"https://api.github.com/repos/framgia/ffn_07/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/ffn_07/events","assignees_url":"https://api.github.com/repos/framgia/ffn_07/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/ffn_07/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/ffn_07/tags","blobs_url":"https://api.github.com/repos/framgia/ffn_07/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/ffn_07/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/ffn_07/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/ffn_07/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/ffn_07/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/ffn_07/languages","stargazers_url":"https://api.github.com/repos/framgia/ffn_07/stargazers","contributors_url":"https://api.github.com/repos/framgia/ffn_07/contributors","subscribers_url":"https://api.github.com/repos/framgia/ffn_07/subscribers","subscription_url":"https://api.github.com/repos/framgia/ffn_07/subscription","commits_url":"https://api.github.com/repos/framgia/ffn_07/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/ffn_07/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/ffn_07/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/ffn_07/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/ffn_07/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/ffn_07/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/ffn_07/merges","archive_url":"https://api.github.com/repos/framgia/ffn_07/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/ffn_07/downloads","issues_url":"https://api.github.com/repos/framgia/ffn_07/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/ffn_07/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/ffn_07/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/ffn_07/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/ffn_07/labels{/name}","releases_url":"https://api.github.com/repos/framgia/ffn_07/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/ffn_07/deployments","created_at":"2016-11-03T08:07:05Z","updated_at":"2016-11-03T08:07:05Z","pushed_at":"2016-11-24T09:44:10Z","git_url":"git://github.com/framgia/ffn_07.git","ssh_url":"git@github.com:framgia/ffn_07.git","clone_url":"https://github.com/framgia/ffn_07.git","svn_url":"https://github.com/framgia/ffn_07","homepage":null,"size":359,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/ffn_07/pulls/31"},"html":{"href":"https://github.com/framgia/ffn_07/pull/31"},"issue":{"href":"https://api.github.com/repos/framgia/ffn_07/issues/31"},"comments":{"href":"https://api.github.com/repos/framgia/ffn_07/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/ffn_07/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/ffn_07/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/ffn_07/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/ffn_07/statuses/ddb221bdd454cac9f6ad894d47f43f05b7c6e141"}}}}
{"actor":{"display_login":"HoangThiTuanDung"}}