Response entity child ManyToOne
parent
733540f7ba
commit
e6c190c9be
|
@ -37,7 +37,7 @@ class Response
|
||||||
private $question;
|
private $question;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ORM\OneToOne(targetEntity="App\Entity\Question", cascade={"persist", "remove"})
|
* @ORM\ManyToOne(targetEntity="App\Entity\Question", cascade={"persist", "remove"})
|
||||||
* @ORM\JoinTable(name="question")
|
* @ORM\JoinTable(name="question")
|
||||||
* @ApiSubresource()
|
* @ApiSubresource()
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue