From c99bfd868f30916604b397b474217995c590ff16 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 27 Nov 2019 14:53:07 +0100 Subject: [PATCH] Remove iid --- src/CourseBundle/Entity/CResource.php | 33 +-------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/src/CourseBundle/Entity/CResource.php b/src/CourseBundle/Entity/CResource.php index 6f51c891d5..fab3e243c3 100644 --- a/src/CourseBundle/Entity/CResource.php +++ b/src/CourseBundle/Entity/CResource.php @@ -21,7 +21,7 @@ class CResource /** * @var int * - * @ORM\Column(name="iid", type="integer") + * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue */ @@ -34,13 +34,6 @@ class CResource */ protected $cId; - /** - * @var int - * - * @ORM\Column(name="id", type="integer", nullable=true) - */ - protected $id; - /** * @var string * @@ -165,30 +158,6 @@ class CResource return $this->resourceId; } - /** - * Set id. - * - * @param int $id - * - * @return CResource - */ - public function setId($id) - { - $this->id = $id; - - return $this; - } - - /** - * Get id. - * - * @return int - */ - public function getId() - { - return $this->id; - } - /** * Set cId. *