|
|
@ -42,7 +42,7 @@ class ResourceComment |
|
|
|
* @var User |
|
|
|
* @var User |
|
|
|
* |
|
|
|
* |
|
|
|
* @Groups({"list"}) |
|
|
|
* @Groups({"list"}) |
|
|
|
* @ORM\ManyToOne(targetEntity="Chamilo\UserBundle\Entity\User", inversedBy="resourceComments") |
|
|
|
* @ORM\ManyToOne(targetEntity="Chamilo\UserBundle\Entity\User") |
|
|
|
* @ORM\JoinColumn(name="author_id", referencedColumnName="id", onDelete="SET NULL") |
|
|
|
* @ORM\JoinColumn(name="author_id", referencedColumnName="id", onDelete="SET NULL") |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
protected $author; |
|
|
|
protected $author; |
|
|
|