entité
This commit is contained in:
@@ -41,8 +41,8 @@ class Participant
|
||||
#[ORM\Column]
|
||||
private ?string $password = null;
|
||||
|
||||
#[ORM\ManyToOne(inversedBy: 'participants')]
|
||||
#[ORM\JoinColumn(nullable: false)]
|
||||
#[ORM\ManyToOne(targetEntity: Site::class, inversedBy: 'participants')]
|
||||
#[ORM\JoinColumn(name: 'site_id', referencedColumnName: 'idSite', nullable: false)]
|
||||
private ?Site $site = null;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user