{"action":"created","comment":{"url":"https://api.github.com/repos/FloMal/BlueSheepProject/pulls/comments/94126549","pull_request_review_id":14654282,"id":94126549,"diff_hunk":"@@ -0,0 +1,318 @@\n+<?php\n+\n+namespace AppBundle\\Entity;\n+\n+use Doctrine\\ORM\\Mapping as ORM;\n+use Symfony\\Component\\Validator\\Constraints as Assert;\n+use Symfony\\Bridge\\Doctrine\\Validator\\Constraints\\UniqueEntity;\n+use Doctrine\\Common\\Collections\\ArrayCollection;\n+\n+/**\n+ * Partner\n+ *\n+ * @ORM\\Table(name=\"partner\")\n+ * @ORM\\Entity(repositoryClass=\"AppBundle\\Repository\\PartnerRepository\")\n+ * @UniqueEntity(fields=\"email\", message=\"This email already exists\")\n+ * @UniqueEntity(fields=\"pseudo\", message=\"This username is not available\")\n+ * @UniqueEntity(fields=\"company\", message=\"This company has already an account\")\n+ * @UniqueEntity(fields=\"commercialRegistry\", message=\"This commercial registry is already used\")\n+ */\n+class Partner {\n+\n+\t/**\n+\t * @var int\n+\t *\n+\t * @ORM\\Column(name=\"id\", type=\"integer\")\n+\t * @ORM\\Id\n+\t * @ORM\\GeneratedValue(strategy=\"AUTO\")\n+\t */\n+\tprivate $id;\n+\n+\t/**\n+\t *\n+\t * @var string\n+\t * @ORM\\Column (type=\"string\", length=100, unique=true)\n+\t * @Assert\\NotBlank()\n+\t * @Assert\\Length(\n+\t *      min = 3,\n+\t *      max = 100,\n+\t *      minMessage = \"Your company name must be at least {{ limit }} characters long\",\n+\t *      maxMessage = \"Your company name cannot be longer than {{ limit }} characters\"\n+\t * )\n+\t */\n+\tprivate $company;\n+\n+\t/**\n+\t *\n+\t * @var string\n+\t * @ORM\\Column (type=\"string\", length=45)\n+\t * @Assert\\NotBlank()\n+\t * @Assert\\Length(\n+\t *      min = 3,\n+\t *      max = 45,\n+\t *      minMessage = \"Your contact firstname must be at least {{ limit }} characters long\",\n+\t *      maxMessage = \"Your contact firstname cannot be longer than {{ limit }} characters\"\n+\t * )\n+\t */\n+\tprivate $firstname;\n+\n+\t/**\n+\t *\n+\t * @var string\n+\t * @ORM\\Column (type=\"string\" , length=45)\n+\t * @Assert\\NotBlank()\n+\t * @Assert\\Length(\n+\t *      min = 3,\n+\t *      max = 45,\n+\t *      minMessage = \"Your contact lastname must be at least {{ limit }} characters long\",\n+\t *      maxMessage = \"Your contact lastname cannot be longer than {{ limit }} characters\"\n+\t * )\n+\t */\n+\tprivate $lastname;\n+\n+\t/**\n+\t *\n+\t * @var string\n+\t * @ORM\\Column (type=\"string\", length=45)\n+\t * @Assert\\NotBlank()\n+\t * @Assert\\Length(\n+\t *      min = 3,\n+\t *      max = 45,\n+\t *      minMessage = \"Your login must be at least {{ limit }} characters long\",\n+\t *      maxMessage = \"Your login cannot be longer than {{ limit }} characters\"\n+\t * )\n+\t */\n+\tprivate $pseudo;\n+\n+\t/**\n+\t *\n+\t * @var string\n+\t * @ORM\\Column (type=\"string\", length=45, unique=true)\n+\t * @Assert\\NotBlank()\n+\t * @Assert\\Email(\n+\t *     message = \"The email '{{ value }}' is not a valid email.\",\n+\t *     checkMX = true\n+\t * )\n+\t */\n+\tprivate $email;\n+\n+\t/**\n+\t *\n+\t * @var string\n+\t * @ORM\\Column (type=\"string\")","path":"src/AppBundle/Entity/Partner.php","position":102,"original_position":102,"commit_id":"137ffef1f6fb59d86837be7de314033be610cd28","original_commit_id":"137ffef1f6fb59d86837be7de314033be610cd28","user":{"login":"dia42r","id":10731627,"avatar_url":"https://avatars.githubusercontent.com/u/10731627?v=3","gravatar_id":"","url":"https://api.github.com/users/dia42r","html_url":"https://github.com/dia42r","followers_url":"https://api.github.com/users/dia42r/followers","following_url":"https://api.github.com/users/dia42r/following{/other_user}","gists_url":"https://api.github.com/users/dia42r/gists{/gist_id}","starred_url":"https://api.github.com/users/dia42r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dia42r/subscriptions","organizations_url":"https://api.github.com/users/dia42r/orgs","repos_url":"https://api.github.com/users/dia42r/repos","events_url":"https://api.github.com/users/dia42r/events{/privacy}","received_events_url":"https://api.github.com/users/dia42r/received_events","type":"User","site_admin":false},"body":"missing name attribute on Column for password","created_at":"2016-12-29T11:27:42Z","updated_at":"2016-12-29T11:29:37Z","html_url":"https://github.com/FloMal/BlueSheepProject/pull/1#discussion_r94126549","pull_request_url":"https://api.github.com/repos/FloMal/BlueSheepProject/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/FloMal/BlueSheepProject/pulls/comments/94126549"},"html":{"href":"https://github.com/FloMal/BlueSheepProject/pull/1#discussion_r94126549"},"pull_request":{"href":"https://api.github.com/repos/FloMal/BlueSheepProject/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/FloMal/BlueSheepProject/pulls/1","id":99634051,"html_url":"https://github.com/FloMal/BlueSheepProject/pull/1","diff_url":"https://github.com/FloMal/BlueSheepProject/pull/1.diff","patch_url":"https://github.com/FloMal/BlueSheepProject/pull/1.patch","issue_url":"https://api.github.com/repos/FloMal/BlueSheepProject/issues/1","number":1,"state":"open","locked":false,"title":"Integration of entities","user":{"login":"FloMal","id":22482910,"avatar_url":"https://avatars.githubusercontent.com/u/22482910?v=3","gravatar_id":"","url":"https://api.github.com/users/FloMal","html_url":"https://github.com/FloMal","followers_url":"https://api.github.com/users/FloMal/followers","following_url":"https://api.github.com/users/FloMal/following{/other_user}","gists_url":"https://api.github.com/users/FloMal/gists{/gist_id}","starred_url":"https://api.github.com/users/FloMal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FloMal/subscriptions","organizations_url":"https://api.github.com/users/FloMal/orgs","repos_url":"https://api.github.com/users/FloMal/repos","events_url":"https://api.github.com/users/FloMal/events{/privacy}","received_events_url":"https://api.github.com/users/FloMal/received_events","type":"User","site_admin":false},"body":"Submission for review before merge in master of activity, comment, partner, photo, product, ProductAttribute","created_at":"2016-12-29T09:21:28Z","updated_at":"2016-12-29T11:29:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"416f796fc7c3316eab4f2b4c2c92c453c8a20584","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/FloMal/BlueSheepProject/pulls/1/commits","review_comments_url":"https://api.github.com/repos/FloMal/BlueSheepProject/pulls/1/comments","review_comment_url":"https://api.github.com/repos/FloMal/BlueSheepProject/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FloMal/BlueSheepProject/issues/1/comments","statuses_url":"https://api.github.com/repos/FloMal/BlueSheepProject/statuses/137ffef1f6fb59d86837be7de314033be610cd28","head":{"label":"FloMal:branchflorent","ref":"branchflorent","sha":"137ffef1f6fb59d86837be7de314033be610cd28","user":{"login":"FloMal","id":22482910,"avatar_url":"https://avatars.githubusercontent.com/u/22482910?v=3","gravatar_id":"","url":"https://api.github.com/users/FloMal","html_url":"https://github.com/FloMal","followers_url":"https://api.github.com/users/FloMal/followers","following_url":"https://api.github.com/users/FloMal/following{/other_user}","gists_url":"https://api.github.com/users/FloMal/gists{/gist_id}","starred_url":"https://api.github.com/users/FloMal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FloMal/subscriptions","organizations_url":"https://api.github.com/users/FloMal/orgs","repos_url":"https://api.github.com/users/FloMal/repos","events_url":"https://api.github.com/users/FloMal/events{/privacy}","received_events_url":"https://api.github.com/users/FloMal/received_events","type":"User","site_admin":false},"repo":{"id":77445444,"name":"BlueSheepProject","full_name":"FloMal/BlueSheepProject","owner":{"login":"FloMal","id":22482910,"avatar_url":"https://avatars.githubusercontent.com/u/22482910?v=3","gravatar_id":"","url":"https://api.github.com/users/FloMal","html_url":"https://github.com/FloMal","followers_url":"https://api.github.com/users/FloMal/followers","following_url":"https://api.github.com/users/FloMal/following{/other_user}","gists_url":"https://api.github.com/users/FloMal/gists{/gist_id}","starred_url":"https://api.github.com/users/FloMal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FloMal/subscriptions","organizations_url":"https://api.github.com/users/FloMal/orgs","repos_url":"https://api.github.com/users/FloMal/repos","events_url":"https://api.github.com/users/FloMal/events{/privacy}","received_events_url":"https://api.github.com/users/FloMal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FloMal/BlueSheepProject","description":"Projet symfony de recherche de loisirs avancé","fork":false,"url":"https://api.github.com/repos/FloMal/BlueSheepProject","forks_url":"https://api.github.com/repos/FloMal/BlueSheepProject/forks","keys_url":"https://api.github.com/repos/FloMal/BlueSheepProject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FloMal/BlueSheepProject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FloMal/BlueSheepProject/teams","hooks_url":"https://api.github.com/repos/FloMal/BlueSheepProject/hooks","issue_events_url":"https://api.github.com/repos/FloMal/BlueSheepProject/issues/events{/number}","events_url":"https://api.github.com/repos/FloMal/BlueSheepProject/events","assignees_url":"https://api.github.com/repos/FloMal/BlueSheepProject/assignees{/user}","branches_url":"https://api.github.com/repos/FloMal/BlueSheepProject/branches{/branch}","tags_url":"https://api.github.com/repos/FloMal/BlueSheepProject/tags","blobs_url":"https://api.github.com/repos/FloMal/BlueSheepProject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FloMal/BlueSheepProject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FloMal/BlueSheepProject/git/refs{/sha}","trees_url":"https://api.github.com/repos/FloMal/BlueSheepProject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FloMal/BlueSheepProject/statuses/{sha}","languages_url":"https://api.github.com/repos/FloMal/BlueSheepProject/languages","stargazers_url":"https://api.github.com/repos/FloMal/BlueSheepProject/stargazers","contributors_url":"https://api.github.com/repos/FloMal/BlueSheepProject/contributors","subscribers_url":"https://api.github.com/repos/FloMal/BlueSheepProject/subscribers","subscription_url":"https://api.github.com/repos/FloMal/BlueSheepProject/subscription","commits_url":"https://api.github.com/repos/FloMal/BlueSheepProject/commits{/sha}","git_commits_url":"https://api.github.com/repos/FloMal/BlueSheepProject/git/commits{/sha}","comments_url":"https://api.github.com/repos/FloMal/BlueSheepProject/comments{/number}","issue_comment_url":"https://api.github.com/repos/FloMal/BlueSheepProject/issues/comments{/number}","contents_url":"https://api.github.com/repos/FloMal/BlueSheepProject/contents/{+path}","compare_url":"https://api.github.com/repos/FloMal/BlueSheepProject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FloMal/BlueSheepProject/merges","archive_url":"https://api.github.com/repos/FloMal/BlueSheepProject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FloMal/BlueSheepProject/downloads","issues_url":"https://api.github.com/repos/FloMal/BlueSheepProject/issues{/number}","pulls_url":"https://api.github.com/repos/FloMal/BlueSheepProject/pulls{/number}","milestones_url":"https://api.github.com/repos/FloMal/BlueSheepProject/milestones{/number}","notifications_url":"https://api.github.com/repos/FloMal/BlueSheepProject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FloMal/BlueSheepProject/labels{/name}","releases_url":"https://api.github.com/repos/FloMal/BlueSheepProject/releases{/id}","deployments_url":"https://api.github.com/repos/FloMal/BlueSheepProject/deployments","created_at":"2016-12-27T09:58:54Z","updated_at":"2016-12-27T18:00:54Z","pushed_at":"2016-12-29T10:25:58Z","git_url":"git://github.com/FloMal/BlueSheepProject.git","ssh_url":"git@github.com:FloMal/BlueSheepProject.git","clone_url":"https://github.com/FloMal/BlueSheepProject.git","svn_url":"https://github.com/FloMal/BlueSheepProject","homepage":null,"size":60,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"FloMal:master","ref":"master","sha":"95e5199675e4fe5b09197311a6a1575e4bbff28e","user":{"login":"FloMal","id":22482910,"avatar_url":"https://avatars.githubusercontent.com/u/22482910?v=3","gravatar_id":"","url":"https://api.github.com/users/FloMal","html_url":"https://github.com/FloMal","followers_url":"https://api.github.com/users/FloMal/followers","following_url":"https://api.github.com/users/FloMal/following{/other_user}","gists_url":"https://api.github.com/users/FloMal/gists{/gist_id}","starred_url":"https://api.github.com/users/FloMal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FloMal/subscriptions","organizations_url":"https://api.github.com/users/FloMal/orgs","repos_url":"https://api.github.com/users/FloMal/repos","events_url":"https://api.github.com/users/FloMal/events{/privacy}","received_events_url":"https://api.github.com/users/FloMal/received_events","type":"User","site_admin":false},"repo":{"id":77445444,"name":"BlueSheepProject","full_name":"FloMal/BlueSheepProject","owner":{"login":"FloMal","id":22482910,"avatar_url":"https://avatars.githubusercontent.com/u/22482910?v=3","gravatar_id":"","url":"https://api.github.com/users/FloMal","html_url":"https://github.com/FloMal","followers_url":"https://api.github.com/users/FloMal/followers","following_url":"https://api.github.com/users/FloMal/following{/other_user}","gists_url":"https://api.github.com/users/FloMal/gists{/gist_id}","starred_url":"https://api.github.com/users/FloMal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FloMal/subscriptions","organizations_url":"https://api.github.com/users/FloMal/orgs","repos_url":"https://api.github.com/users/FloMal/repos","events_url":"https://api.github.com/users/FloMal/events{/privacy}","received_events_url":"https://api.github.com/users/FloMal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FloMal/BlueSheepProject","description":"Projet symfony de recherche de loisirs avancé","fork":false,"url":"https://api.github.com/repos/FloMal/BlueSheepProject","forks_url":"https://api.github.com/repos/FloMal/BlueSheepProject/forks","keys_url":"https://api.github.com/repos/FloMal/BlueSheepProject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FloMal/BlueSheepProject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FloMal/BlueSheepProject/teams","hooks_url":"https://api.github.com/repos/FloMal/BlueSheepProject/hooks","issue_events_url":"https://api.github.com/repos/FloMal/BlueSheepProject/issues/events{/number}","events_url":"https://api.github.com/repos/FloMal/BlueSheepProject/events","assignees_url":"https://api.github.com/repos/FloMal/BlueSheepProject/assignees{/user}","branches_url":"https://api.github.com/repos/FloMal/BlueSheepProject/branches{/branch}","tags_url":"https://api.github.com/repos/FloMal/BlueSheepProject/tags","blobs_url":"https://api.github.com/repos/FloMal/BlueSheepProject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FloMal/BlueSheepProject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FloMal/BlueSheepProject/git/refs{/sha}","trees_url":"https://api.github.com/repos/FloMal/BlueSheepProject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FloMal/BlueSheepProject/statuses/{sha}","languages_url":"https://api.github.com/repos/FloMal/BlueSheepProject/languages","stargazers_url":"https://api.github.com/repos/FloMal/BlueSheepProject/stargazers","contributors_url":"https://api.github.com/repos/FloMal/BlueSheepProject/contributors","subscribers_url":"https://api.github.com/repos/FloMal/BlueSheepProject/subscribers","subscription_url":"https://api.github.com/repos/FloMal/BlueSheepProject/subscription","commits_url":"https://api.github.com/repos/FloMal/BlueSheepProject/commits{/sha}","git_commits_url":"https://api.github.com/repos/FloMal/BlueSheepProject/git/commits{/sha}","comments_url":"https://api.github.com/repos/FloMal/BlueSheepProject/comments{/number}","issue_comment_url":"https://api.github.com/repos/FloMal/BlueSheepProject/issues/comments{/number}","contents_url":"https://api.github.com/repos/FloMal/BlueSheepProject/contents/{+path}","compare_url":"https://api.github.com/repos/FloMal/BlueSheepProject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FloMal/BlueSheepProject/merges","archive_url":"https://api.github.com/repos/FloMal/BlueSheepProject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FloMal/BlueSheepProject/downloads","issues_url":"https://api.github.com/repos/FloMal/BlueSheepProject/issues{/number}","pulls_url":"https://api.github.com/repos/FloMal/BlueSheepProject/pulls{/number}","milestones_url":"https://api.github.com/repos/FloMal/BlueSheepProject/milestones{/number}","notifications_url":"https://api.github.com/repos/FloMal/BlueSheepProject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FloMal/BlueSheepProject/labels{/name}","releases_url":"https://api.github.com/repos/FloMal/BlueSheepProject/releases{/id}","deployments_url":"https://api.github.com/repos/FloMal/BlueSheepProject/deployments","created_at":"2016-12-27T09:58:54Z","updated_at":"2016-12-27T18:00:54Z","pushed_at":"2016-12-29T10:25:58Z","git_url":"git://github.com/FloMal/BlueSheepProject.git","ssh_url":"git@github.com:FloMal/BlueSheepProject.git","clone_url":"https://github.com/FloMal/BlueSheepProject.git","svn_url":"https://github.com/FloMal/BlueSheepProject","homepage":null,"size":60,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FloMal/BlueSheepProject/pulls/1"},"html":{"href":"https://github.com/FloMal/BlueSheepProject/pull/1"},"issue":{"href":"https://api.github.com/repos/FloMal/BlueSheepProject/issues/1"},"comments":{"href":"https://api.github.com/repos/FloMal/BlueSheepProject/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/FloMal/BlueSheepProject/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/FloMal/BlueSheepProject/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FloMal/BlueSheepProject/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/FloMal/BlueSheepProject/statuses/137ffef1f6fb59d86837be7de314033be610cd28"}}}}
{"actor":{"display_login":"dia42r"}}