{"action":"created","comment":{"url":"https://api.github.com/repos/geekhub-php/CheDream3/pulls/comments/23556343","id":23556343,"diff_hunk":"@@ -0,0 +1,192 @@\n+<?php\n+\n+namespace AppBundle\\Document;\n+\n+use Doctrine\\ODM\\MongoDB\\Mapping\\Annotations as ODM;\n+use Gedmo\\Mapping\\Annotation as Gedmo;\n+\n+/**\n+ * Class EquipmentContribute\n+ *\n+ * @ODM\\Document(collection=\"equipment_contributes\", repositoryClass=\"AppBundle\\Repository\\CommonRepository\")\n+ */\n+class EquipmentContribute extends AbstractContribute\n+{\n+    /**\n+     * @var integer\n+     *\n+     * @ODM\\Id\n+     */\n+    protected $id;\n+    /**\n+     * @ODM\\ReferenceOne(targetDocument=\"EquipmentResource\")\n+     */\n+    protected $equipmentResource;\n+    /**\n+     * @var boolean $hiddenContributor\n+     */\n+    protected $hiddenContributor;\n+\n+    /**\n+     * @var date $createdAt\n+     */\n+    protected $createdAt;\n+\n+    /**\n+     * @var float $quantity\n+     */\n+    protected $quantity;\n+\n+    /**\n+     * @var \\AppBundle\\Document\\User\n+     */\n+    protected $user;\n+\n+    /**\n+     * @var \\AppBundle\\Document\\Dream\n+     */\n+    protected $dream;\n+\n+\n+    /**\n+     * Get id\n+     *\n+     * @return id $id\n+     */\n+    public function getId()\n+    {\n+        return $this->id;\n+    }\n+\n+    /**\n+     * Set equipmentResource\n+     *\n+     * @param \\AppBundle\\Document\\EquipmentResource $equipmentResource\n+     * @return self\n+     */\n+    public function setEquipmentResource(\\AppBundle\\Document\\EquipmentResource $equipmentResource)\n+    {\n+        $this->equipmentResource = $equipmentResource;\n+        return $this;\n+    }\n+\n+    /**\n+     * Get equipmentResource\n+     *\n+     * @return \\AppBundle\\Document\\EquipmentResource $equipmentResource\n+     */\n+    public function getEquipmentResource()\n+    {\n+        return $this->equipmentResource;\n+    }\n+\n+    /**\n+     * Set hiddenContributor\n+     *\n+     * @param boolean $hiddenContributor\n+     * @return self\n+     */\n+    public function setHiddenContributor($hiddenContributor)\n+    {\n+        $this->hiddenContributor = $hiddenContributor;\n+        return $this;\n+    }\n+\n+    /**\n+     * Get hiddenContributor\n+     *\n+     * @return boolean $hiddenContributor\n+     */\n+    public function getHiddenContributor()\n+    {\n+        return $this->hiddenContributor;\n+    }\n+\n+    /**\n+     * Set user\n+     *\n+     * @param \\AppBundle\\Document\\User $user\n+     * @return self\n+     */\n+    public function setUser(\\AppBundle\\Document\\User $user)\n+    {\n+        $this->user = $user;\n+        return $this;\n+    }\n+\n+    /**\n+     * Get user\n+     *\n+     * @return \\AppBundle\\Document\\User $user\n+     */\n+    public function getUser()\n+    {\n+        return $this->user;\n+    }\n+\n+    /**\n+     * Set createdAt\n+     *\n+     * @param date $createdAt\n+     * @return self\n+     */\n+    public function setCreatedAt($createdAt)","path":"src/AppBundle/Document/EquipmentContribute.php","position":133,"original_position":133,"commit_id":"eed188921bc19e1e9b7ffa9f4f9ed42d0e04a3b4","original_commit_id":"eed188921bc19e1e9b7ffa9f4f9ed42d0e04a3b4","user":{"login":"spolischook","id":1978331,"avatar_url":"https://avatars.githubusercontent.com/u/1978331?v=3","gravatar_id":"","url":"https://api.github.com/users/spolischook","html_url":"https://github.com/spolischook","followers_url":"https://api.github.com/users/spolischook/followers","following_url":"https://api.github.com/users/spolischook/following{/other_user}","gists_url":"https://api.github.com/users/spolischook/gists{/gist_id}","starred_url":"https://api.github.com/users/spolischook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spolischook/subscriptions","organizations_url":"https://api.github.com/users/spolischook/orgs","repos_url":"https://api.github.com/users/spolischook/repos","events_url":"https://api.github.com/users/spolischook/events{/privacy}","received_events_url":"https://api.github.com/users/spolischook/received_events","type":"User","site_admin":false},"body":"type hinting ","created_at":"2015-01-26T19:20:00Z","updated_at":"2015-01-26T19:20:00Z","html_url":"https://github.com/geekhub-php/CheDream3/pull/3#discussion_r23556343","pull_request_url":"https://api.github.com/repos/geekhub-php/CheDream3/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/geekhub-php/CheDream3/pulls/comments/23556343"},"html":{"href":"https://github.com/geekhub-php/CheDream3/pull/3#discussion_r23556343"},"pull_request":{"href":"https://api.github.com/repos/geekhub-php/CheDream3/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/geekhub-php/CheDream3/pulls/3","id":27993634,"html_url":"https://github.com/geekhub-php/CheDream3/pull/3","diff_url":"https://github.com/geekhub-php/CheDream3/pull/3.diff","patch_url":"https://github.com/geekhub-php/CheDream3/pull/3.patch","issue_url":"https://api.github.com/repos/geekhub-php/CheDream3/issues/3","number":3,"state":"open","locked":false,"title":"add doctrine mongodb bundle and documents","user":{"login":"valiknet18","id":5772019,"avatar_url":"https://avatars.githubusercontent.com/u/5772019?v=3","gravatar_id":"","url":"https://api.github.com/users/valiknet18","html_url":"https://github.com/valiknet18","followers_url":"https://api.github.com/users/valiknet18/followers","following_url":"https://api.github.com/users/valiknet18/following{/other_user}","gists_url":"https://api.github.com/users/valiknet18/gists{/gist_id}","starred_url":"https://api.github.com/users/valiknet18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valiknet18/subscriptions","organizations_url":"https://api.github.com/users/valiknet18/orgs","repos_url":"https://api.github.com/users/valiknet18/repos","events_url":"https://api.github.com/users/valiknet18/events{/privacy}","received_events_url":"https://api.github.com/users/valiknet18/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-25T15:51:51Z","updated_at":"2015-01-26T19:20:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21c8007a960d779675c75eb527b57f055f51edfd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/geekhub-php/CheDream3/pulls/3/commits","review_comments_url":"https://api.github.com/repos/geekhub-php/CheDream3/pulls/3/comments","review_comment_url":"https://api.github.com/repos/geekhub-php/CheDream3/pulls/comments/{number}","comments_url":"https://api.github.com/repos/geekhub-php/CheDream3/issues/3/comments","statuses_url":"https://api.github.com/repos/geekhub-php/CheDream3/statuses/eed188921bc19e1e9b7ffa9f4f9ed42d0e04a3b4","head":{"label":"geekhub-php:AddDocuments","ref":"AddDocuments","sha":"eed188921bc19e1e9b7ffa9f4f9ed42d0e04a3b4","user":{"login":"geekhub-php","id":2575237,"avatar_url":"https://avatars.githubusercontent.com/u/2575237?v=3","gravatar_id":"","url":"https://api.github.com/users/geekhub-php","html_url":"https://github.com/geekhub-php","followers_url":"https://api.github.com/users/geekhub-php/followers","following_url":"https://api.github.com/users/geekhub-php/following{/other_user}","gists_url":"https://api.github.com/users/geekhub-php/gists{/gist_id}","starred_url":"https://api.github.com/users/geekhub-php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekhub-php/subscriptions","organizations_url":"https://api.github.com/users/geekhub-php/orgs","repos_url":"https://api.github.com/users/geekhub-php/repos","events_url":"https://api.github.com/users/geekhub-php/events{/privacy}","received_events_url":"https://api.github.com/users/geekhub-php/received_events","type":"Organization","site_admin":false},"repo":{"id":29289423,"name":"CheDream3","full_name":"geekhub-php/CheDream3","owner":{"login":"geekhub-php","id":2575237,"avatar_url":"https://avatars.githubusercontent.com/u/2575237?v=3","gravatar_id":"","url":"https://api.github.com/users/geekhub-php","html_url":"https://github.com/geekhub-php","followers_url":"https://api.github.com/users/geekhub-php/followers","following_url":"https://api.github.com/users/geekhub-php/following{/other_user}","gists_url":"https://api.github.com/users/geekhub-php/gists{/gist_id}","starred_url":"https://api.github.com/users/geekhub-php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekhub-php/subscriptions","organizations_url":"https://api.github.com/users/geekhub-php/orgs","repos_url":"https://api.github.com/users/geekhub-php/repos","events_url":"https://api.github.com/users/geekhub-php/events{/privacy}","received_events_url":"https://api.github.com/users/geekhub-php/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geekhub-php/CheDream3","description":"Chedream - This is an open source project for the Cherkasy city administration. The project is developed through the efforts of the project Geekhub","fork":false,"url":"https://api.github.com/repos/geekhub-php/CheDream3","forks_url":"https://api.github.com/repos/geekhub-php/CheDream3/forks","keys_url":"https://api.github.com/repos/geekhub-php/CheDream3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geekhub-php/CheDream3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geekhub-php/CheDream3/teams","hooks_url":"https://api.github.com/repos/geekhub-php/CheDream3/hooks","issue_events_url":"https://api.github.com/repos/geekhub-php/CheDream3/issues/events{/number}","events_url":"https://api.github.com/repos/geekhub-php/CheDream3/events","assignees_url":"https://api.github.com/repos/geekhub-php/CheDream3/assignees{/user}","branches_url":"https://api.github.com/repos/geekhub-php/CheDream3/branches{/branch}","tags_url":"https://api.github.com/repos/geekhub-php/CheDream3/tags","blobs_url":"https://api.github.com/repos/geekhub-php/CheDream3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geekhub-php/CheDream3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geekhub-php/CheDream3/git/refs{/sha}","trees_url":"https://api.github.com/repos/geekhub-php/CheDream3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geekhub-php/CheDream3/statuses/{sha}","languages_url":"https://api.github.com/repos/geekhub-php/CheDream3/languages","stargazers_url":"https://api.github.com/repos/geekhub-php/CheDream3/stargazers","contributors_url":"https://api.github.com/repos/geekhub-php/CheDream3/contributors","subscribers_url":"https://api.github.com/repos/geekhub-php/CheDream3/subscribers","subscription_url":"https://api.github.com/repos/geekhub-php/CheDream3/subscription","commits_url":"https://api.github.com/repos/geekhub-php/CheDream3/commits{/sha}","git_commits_url":"https://api.github.com/repos/geekhub-php/CheDream3/git/commits{/sha}","comments_url":"https://api.github.com/repos/geekhub-php/CheDream3/comments{/number}","issue_comment_url":"https://api.github.com/repos/geekhub-php/CheDream3/issues/comments/{number}","contents_url":"https://api.github.com/repos/geekhub-php/CheDream3/contents/{+path}","compare_url":"https://api.github.com/repos/geekhub-php/CheDream3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geekhub-php/CheDream3/merges","archive_url":"https://api.github.com/repos/geekhub-php/CheDream3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geekhub-php/CheDream3/downloads","issues_url":"https://api.github.com/repos/geekhub-php/CheDream3/issues{/number}","pulls_url":"https://api.github.com/repos/geekhub-php/CheDream3/pulls{/number}","milestones_url":"https://api.github.com/repos/geekhub-php/CheDream3/milestones{/number}","notifications_url":"https://api.github.com/repos/geekhub-php/CheDream3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geekhub-php/CheDream3/labels{/name}","releases_url":"https://api.github.com/repos/geekhub-php/CheDream3/releases{/id}","created_at":"2015-01-15T09:08:30Z","updated_at":"2015-01-26T09:43:53Z","pushed_at":"2015-01-26T18:49:27Z","git_url":"git://github.com/geekhub-php/CheDream3.git","ssh_url":"git@github.com:geekhub-php/CheDream3.git","clone_url":"https://github.com/geekhub-php/CheDream3.git","svn_url":"https://github.com/geekhub-php/CheDream3","homepage":"http://chedream.org/","size":285,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"develop"}},"base":{"label":"geekhub-php:develop","ref":"develop","sha":"e92c9d07077eb3a366fa52aa91bd628c2b0af374","user":{"login":"geekhub-php","id":2575237,"avatar_url":"https://avatars.githubusercontent.com/u/2575237?v=3","gravatar_id":"","url":"https://api.github.com/users/geekhub-php","html_url":"https://github.com/geekhub-php","followers_url":"https://api.github.com/users/geekhub-php/followers","following_url":"https://api.github.com/users/geekhub-php/following{/other_user}","gists_url":"https://api.github.com/users/geekhub-php/gists{/gist_id}","starred_url":"https://api.github.com/users/geekhub-php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekhub-php/subscriptions","organizations_url":"https://api.github.com/users/geekhub-php/orgs","repos_url":"https://api.github.com/users/geekhub-php/repos","events_url":"https://api.github.com/users/geekhub-php/events{/privacy}","received_events_url":"https://api.github.com/users/geekhub-php/received_events","type":"Organization","site_admin":false},"repo":{"id":29289423,"name":"CheDream3","full_name":"geekhub-php/CheDream3","owner":{"login":"geekhub-php","id":2575237,"avatar_url":"https://avatars.githubusercontent.com/u/2575237?v=3","gravatar_id":"","url":"https://api.github.com/users/geekhub-php","html_url":"https://github.com/geekhub-php","followers_url":"https://api.github.com/users/geekhub-php/followers","following_url":"https://api.github.com/users/geekhub-php/following{/other_user}","gists_url":"https://api.github.com/users/geekhub-php/gists{/gist_id}","starred_url":"https://api.github.com/users/geekhub-php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekhub-php/subscriptions","organizations_url":"https://api.github.com/users/geekhub-php/orgs","repos_url":"https://api.github.com/users/geekhub-php/repos","events_url":"https://api.github.com/users/geekhub-php/events{/privacy}","received_events_url":"https://api.github.com/users/geekhub-php/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geekhub-php/CheDream3","description":"Chedream - This is an open source project for the Cherkasy city administration. The project is developed through the efforts of the project Geekhub","fork":false,"url":"https://api.github.com/repos/geekhub-php/CheDream3","forks_url":"https://api.github.com/repos/geekhub-php/CheDream3/forks","keys_url":"https://api.github.com/repos/geekhub-php/CheDream3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geekhub-php/CheDream3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geekhub-php/CheDream3/teams","hooks_url":"https://api.github.com/repos/geekhub-php/CheDream3/hooks","issue_events_url":"https://api.github.com/repos/geekhub-php/CheDream3/issues/events{/number}","events_url":"https://api.github.com/repos/geekhub-php/CheDream3/events","assignees_url":"https://api.github.com/repos/geekhub-php/CheDream3/assignees{/user}","branches_url":"https://api.github.com/repos/geekhub-php/CheDream3/branches{/branch}","tags_url":"https://api.github.com/repos/geekhub-php/CheDream3/tags","blobs_url":"https://api.github.com/repos/geekhub-php/CheDream3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geekhub-php/CheDream3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geekhub-php/CheDream3/git/refs{/sha}","trees_url":"https://api.github.com/repos/geekhub-php/CheDream3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geekhub-php/CheDream3/statuses/{sha}","languages_url":"https://api.github.com/repos/geekhub-php/CheDream3/languages","stargazers_url":"https://api.github.com/repos/geekhub-php/CheDream3/stargazers","contributors_url":"https://api.github.com/repos/geekhub-php/CheDream3/contributors","subscribers_url":"https://api.github.com/repos/geekhub-php/CheDream3/subscribers","subscription_url":"https://api.github.com/repos/geekhub-php/CheDream3/subscription","commits_url":"https://api.github.com/repos/geekhub-php/CheDream3/commits{/sha}","git_commits_url":"https://api.github.com/repos/geekhub-php/CheDream3/git/commits{/sha}","comments_url":"https://api.github.com/repos/geekhub-php/CheDream3/comments{/number}","issue_comment_url":"https://api.github.com/repos/geekhub-php/CheDream3/issues/comments/{number}","contents_url":"https://api.github.com/repos/geekhub-php/CheDream3/contents/{+path}","compare_url":"https://api.github.com/repos/geekhub-php/CheDream3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geekhub-php/CheDream3/merges","archive_url":"https://api.github.com/repos/geekhub-php/CheDream3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geekhub-php/CheDream3/downloads","issues_url":"https://api.github.com/repos/geekhub-php/CheDream3/issues{/number}","pulls_url":"https://api.github.com/repos/geekhub-php/CheDream3/pulls{/number}","milestones_url":"https://api.github.com/repos/geekhub-php/CheDream3/milestones{/number}","notifications_url":"https://api.github.com/repos/geekhub-php/CheDream3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geekhub-php/CheDream3/labels{/name}","releases_url":"https://api.github.com/repos/geekhub-php/CheDream3/releases{/id}","created_at":"2015-01-15T09:08:30Z","updated_at":"2015-01-26T09:43:53Z","pushed_at":"2015-01-26T18:49:27Z","git_url":"git://github.com/geekhub-php/CheDream3.git","ssh_url":"git@github.com:geekhub-php/CheDream3.git","clone_url":"https://github.com/geekhub-php/CheDream3.git","svn_url":"https://github.com/geekhub-php/CheDream3","homepage":"http://chedream.org/","size":285,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/geekhub-php/CheDream3/pulls/3"},"html":{"href":"https://github.com/geekhub-php/CheDream3/pull/3"},"issue":{"href":"https://api.github.com/repos/geekhub-php/CheDream3/issues/3"},"comments":{"href":"https://api.github.com/repos/geekhub-php/CheDream3/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/geekhub-php/CheDream3/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/geekhub-php/CheDream3/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/geekhub-php/CheDream3/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/geekhub-php/CheDream3/statuses/eed188921bc19e1e9b7ffa9f4f9ed42d0e04a3b4"}}}}