|
|
|
@ -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. |
|
|
|
|
* |
|
|
|
|