{"action":"created","comment":{"url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/pulls/comments/175326684","pull_request_review_id":104835640,"id":175326684,"diff_hunk":"@@ -0,0 +1,8 @@\n+package models.TradeAgreement\n+\n+case class TradeAgreement(\n+    buyer: Dealer,\n+    seller: Dealer,\n+    deliveryTypeCode: String,","path":"app/models/TradeAgreement/TradeAgreement.scala","position":6,"original_position":6,"commit_id":"bcbf0fc54b2ec171f3bbd48b5c6b60aa443449bf","original_commit_id":"bcbf0fc54b2ec171f3bbd48b5c6b60aa443449bf","user":{"login":"taweewong","id":15921410,"avatar_url":"https://avatars1.githubusercontent.com/u/15921410?v=4","gravatar_id":"","url":"https://api.github.com/users/taweewong","html_url":"https://github.com/taweewong","followers_url":"https://api.github.com/users/taweewong/followers","following_url":"https://api.github.com/users/taweewong/following{/other_user}","gists_url":"https://api.github.com/users/taweewong/gists{/gist_id}","starred_url":"https://api.github.com/users/taweewong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taweewong/subscriptions","organizations_url":"https://api.github.com/users/taweewong/orgs","repos_url":"https://api.github.com/users/taweewong/repos","events_url":"https://api.github.com/users/taweewong/events{/privacy}","received_events_url":"https://api.github.com/users/taweewong/received_events","type":"User","site_admin":false},"body":"อ้างอิงจาก requirement นะครับ เข้าใจว่าเป็น code 3 ตัวอักษร\r\n\r\nแนวทางการระบุเงื่อนไขการซื้อขาย (Trade Term Code) \r\nเงื่อนไขการซื้อขาย (3.1.3.1) สำมารถอ้างอิงได้จากรายการรหัส UNECE Recommendation No. 5 \r\nAbbreviations of INCOTERMS http://tfig.unece.org/contents/recommendation-5.htm","created_at":"2018-03-19T04:00:33Z","updated_at":"2018-03-19T04:00:33Z","html_url":"https://github.com/it-kmitl-2018/group6-backend/pull/18#discussion_r175326684","pull_request_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/pulls/18","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/it-kmitl-2018/group6-backend/pulls/comments/175326684"},"html":{"href":"https://github.com/it-kmitl-2018/group6-backend/pull/18#discussion_r175326684"},"pull_request":{"href":"https://api.github.com/repos/it-kmitl-2018/group6-backend/pulls/18"}},"in_reply_to_id":175319793},"pull_request":{"url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/pulls/18","id":175757439,"html_url":"https://github.com/it-kmitl-2018/group6-backend/pull/18","diff_url":"https://github.com/it-kmitl-2018/group6-backend/pull/18.diff","patch_url":"https://github.com/it-kmitl-2018/group6-backend/pull/18.patch","issue_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/issues/18","number":18,"state":"open","locked":false,"title":"Trade agreement model","user":{"login":"taweewong","id":15921410,"avatar_url":"https://avatars1.githubusercontent.com/u/15921410?v=4","gravatar_id":"","url":"https://api.github.com/users/taweewong","html_url":"https://github.com/taweewong","followers_url":"https://api.github.com/users/taweewong/followers","following_url":"https://api.github.com/users/taweewong/following{/other_user}","gists_url":"https://api.github.com/users/taweewong/gists{/gist_id}","starred_url":"https://api.github.com/users/taweewong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taweewong/subscriptions","organizations_url":"https://api.github.com/users/taweewong/orgs","repos_url":"https://api.github.com/users/taweewong/repos","events_url":"https://api.github.com/users/taweewong/events{/privacy}","received_events_url":"https://api.github.com/users/taweewong/received_events","type":"User","site_admin":false},"body":"model Dealer for seller and buyer\r\nmodel ReferenceDocument for buyer order reference and trade agreement additional reference","created_at":"2018-03-18T15:37:58Z","updated_at":"2018-03-19T04:00:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b86934205a386387d311b48e76078803b352db1","assignee":{"login":"taweewong","id":15921410,"avatar_url":"https://avatars1.githubusercontent.com/u/15921410?v=4","gravatar_id":"","url":"https://api.github.com/users/taweewong","html_url":"https://github.com/taweewong","followers_url":"https://api.github.com/users/taweewong/followers","following_url":"https://api.github.com/users/taweewong/following{/other_user}","gists_url":"https://api.github.com/users/taweewong/gists{/gist_id}","starred_url":"https://api.github.com/users/taweewong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taweewong/subscriptions","organizations_url":"https://api.github.com/users/taweewong/orgs","repos_url":"https://api.github.com/users/taweewong/repos","events_url":"https://api.github.com/users/taweewong/events{/privacy}","received_events_url":"https://api.github.com/users/taweewong/received_events","type":"User","site_admin":false},"assignees":[{"login":"taweewong","id":15921410,"avatar_url":"https://avatars1.githubusercontent.com/u/15921410?v=4","gravatar_id":"","url":"https://api.github.com/users/taweewong","html_url":"https://github.com/taweewong","followers_url":"https://api.github.com/users/taweewong/followers","following_url":"https://api.github.com/users/taweewong/following{/other_user}","gists_url":"https://api.github.com/users/taweewong/gists{/gist_id}","starred_url":"https://api.github.com/users/taweewong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taweewong/subscriptions","organizations_url":"https://api.github.com/users/taweewong/orgs","repos_url":"https://api.github.com/users/taweewong/repos","events_url":"https://api.github.com/users/taweewong/events{/privacy}","received_events_url":"https://api.github.com/users/taweewong/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/pulls/18/commits","review_comments_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/pulls/18/comments","review_comment_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/issues/18/comments","statuses_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/statuses/bcbf0fc54b2ec171f3bbd48b5c6b60aa443449bf","head":{"label":"it-kmitl-2018:trade_agreement_model","ref":"trade_agreement_model","sha":"bcbf0fc54b2ec171f3bbd48b5c6b60aa443449bf","user":{"login":"it-kmitl-2018","id":36155350,"avatar_url":"https://avatars0.githubusercontent.com/u/36155350?v=4","gravatar_id":"","url":"https://api.github.com/users/it-kmitl-2018","html_url":"https://github.com/it-kmitl-2018","followers_url":"https://api.github.com/users/it-kmitl-2018/followers","following_url":"https://api.github.com/users/it-kmitl-2018/following{/other_user}","gists_url":"https://api.github.com/users/it-kmitl-2018/gists{/gist_id}","starred_url":"https://api.github.com/users/it-kmitl-2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/it-kmitl-2018/subscriptions","organizations_url":"https://api.github.com/users/it-kmitl-2018/orgs","repos_url":"https://api.github.com/users/it-kmitl-2018/repos","events_url":"https://api.github.com/users/it-kmitl-2018/events{/privacy}","received_events_url":"https://api.github.com/users/it-kmitl-2018/received_events","type":"Organization","site_admin":false},"repo":{"id":120293131,"name":"group6-backend","full_name":"it-kmitl-2018/group6-backend","owner":{"login":"it-kmitl-2018","id":36155350,"avatar_url":"https://avatars0.githubusercontent.com/u/36155350?v=4","gravatar_id":"","url":"https://api.github.com/users/it-kmitl-2018","html_url":"https://github.com/it-kmitl-2018","followers_url":"https://api.github.com/users/it-kmitl-2018/followers","following_url":"https://api.github.com/users/it-kmitl-2018/following{/other_user}","gists_url":"https://api.github.com/users/it-kmitl-2018/gists{/gist_id}","starred_url":"https://api.github.com/users/it-kmitl-2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/it-kmitl-2018/subscriptions","organizations_url":"https://api.github.com/users/it-kmitl-2018/orgs","repos_url":"https://api.github.com/users/it-kmitl-2018/repos","events_url":"https://api.github.com/users/it-kmitl-2018/events{/privacy}","received_events_url":"https://api.github.com/users/it-kmitl-2018/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/it-kmitl-2018/group6-backend","description":null,"fork":false,"url":"https://api.github.com/repos/it-kmitl-2018/group6-backend","forks_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/forks","keys_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/teams","hooks_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/hooks","issue_events_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/issues/events{/number}","events_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/events","assignees_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/assignees{/user}","branches_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/branches{/branch}","tags_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/tags","blobs_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/languages","stargazers_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/stargazers","contributors_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/contributors","subscribers_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/subscribers","subscription_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/subscription","commits_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/contents/{+path}","compare_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/merges","archive_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/downloads","issues_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/issues{/number}","pulls_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/labels{/name}","releases_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/releases{/id}","deployments_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/deployments","created_at":"2018-02-05T11:00:46Z","updated_at":"2018-02-20T11:01:29Z","pushed_at":"2018-03-18T15:37:59Z","git_url":"git://github.com/it-kmitl-2018/group6-backend.git","ssh_url":"git@github.com:it-kmitl-2018/group6-backend.git","clone_url":"https://github.com/it-kmitl-2018/group6-backend.git","svn_url":"https://github.com/it-kmitl-2018/group6-backend","homepage":null,"size":86,"stargazers_count":1,"watchers_count":1,"language":null,"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":5,"license":null,"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"it-kmitl-2018:develop","ref":"develop","sha":"b2b8488c3d34269cb2e663ab54e5ed824872b829","user":{"login":"it-kmitl-2018","id":36155350,"avatar_url":"https://avatars0.githubusercontent.com/u/36155350?v=4","gravatar_id":"","url":"https://api.github.com/users/it-kmitl-2018","html_url":"https://github.com/it-kmitl-2018","followers_url":"https://api.github.com/users/it-kmitl-2018/followers","following_url":"https://api.github.com/users/it-kmitl-2018/following{/other_user}","gists_url":"https://api.github.com/users/it-kmitl-2018/gists{/gist_id}","starred_url":"https://api.github.com/users/it-kmitl-2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/it-kmitl-2018/subscriptions","organizations_url":"https://api.github.com/users/it-kmitl-2018/orgs","repos_url":"https://api.github.com/users/it-kmitl-2018/repos","events_url":"https://api.github.com/users/it-kmitl-2018/events{/privacy}","received_events_url":"https://api.github.com/users/it-kmitl-2018/received_events","type":"Organization","site_admin":false},"repo":{"id":120293131,"name":"group6-backend","full_name":"it-kmitl-2018/group6-backend","owner":{"login":"it-kmitl-2018","id":36155350,"avatar_url":"https://avatars0.githubusercontent.com/u/36155350?v=4","gravatar_id":"","url":"https://api.github.com/users/it-kmitl-2018","html_url":"https://github.com/it-kmitl-2018","followers_url":"https://api.github.com/users/it-kmitl-2018/followers","following_url":"https://api.github.com/users/it-kmitl-2018/following{/other_user}","gists_url":"https://api.github.com/users/it-kmitl-2018/gists{/gist_id}","starred_url":"https://api.github.com/users/it-kmitl-2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/it-kmitl-2018/subscriptions","organizations_url":"https://api.github.com/users/it-kmitl-2018/orgs","repos_url":"https://api.github.com/users/it-kmitl-2018/repos","events_url":"https://api.github.com/users/it-kmitl-2018/events{/privacy}","received_events_url":"https://api.github.com/users/it-kmitl-2018/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/it-kmitl-2018/group6-backend","description":null,"fork":false,"url":"https://api.github.com/repos/it-kmitl-2018/group6-backend","forks_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/forks","keys_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/teams","hooks_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/hooks","issue_events_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/issues/events{/number}","events_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/events","assignees_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/assignees{/user}","branches_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/branches{/branch}","tags_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/tags","blobs_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/languages","stargazers_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/stargazers","contributors_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/contributors","subscribers_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/subscribers","subscription_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/subscription","commits_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/contents/{+path}","compare_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/merges","archive_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/downloads","issues_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/issues{/number}","pulls_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/labels{/name}","releases_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/releases{/id}","deployments_url":"https://api.github.com/repos/it-kmitl-2018/group6-backend/deployments","created_at":"2018-02-05T11:00:46Z","updated_at":"2018-02-20T11:01:29Z","pushed_at":"2018-03-18T15:37:59Z","git_url":"git://github.com/it-kmitl-2018/group6-backend.git","ssh_url":"git@github.com:it-kmitl-2018/group6-backend.git","clone_url":"https://github.com/it-kmitl-2018/group6-backend.git","svn_url":"https://github.com/it-kmitl-2018/group6-backend","homepage":null,"size":86,"stargazers_count":1,"watchers_count":1,"language":null,"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":5,"license":null,"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/it-kmitl-2018/group6-backend/pulls/18"},"html":{"href":"https://github.com/it-kmitl-2018/group6-backend/pull/18"},"issue":{"href":"https://api.github.com/repos/it-kmitl-2018/group6-backend/issues/18"},"comments":{"href":"https://api.github.com/repos/it-kmitl-2018/group6-backend/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/it-kmitl-2018/group6-backend/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/it-kmitl-2018/group6-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/it-kmitl-2018/group6-backend/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/it-kmitl-2018/group6-backend/statuses/bcbf0fc54b2ec171f3bbd48b5c6b60aa443449bf"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"taweewong"}}