|
|
@@ -92,7 +92,6 @@ class Organization
|
|
|
private Collection $accesses;
|
|
|
|
|
|
#[ORM\OneToMany(mappedBy: 'organization', targetEntity: NetworkOrganization::class, orphanRemoval: true)]
|
|
|
- #[ApiResource]
|
|
|
private Collection $networkOrganizations;
|
|
|
|
|
|
#[ORM\OneToMany(mappedBy: 'parent', targetEntity: NetworkOrganization::class, orphanRemoval: true)]
|
|
|
@@ -106,7 +105,6 @@ class Organization
|
|
|
private Parameters $parameters;
|
|
|
|
|
|
#[ORM\OneToOne(mappedBy: 'organization', cascade: ['persist', 'remove'], orphanRemoval: true)]
|
|
|
- #[ApiResource]
|
|
|
private BillingSetting $billingSetting;
|
|
|
|
|
|
#[ORM\Column(type: 'text', nullable: true)]
|
|
|
@@ -224,31 +222,26 @@ class Organization
|
|
|
private ?File $image = null;
|
|
|
|
|
|
#[ORM\ManyToMany(targetEntity: TypeOfPractice::class, mappedBy: 'organizations')]
|
|
|
- #[ApiResource]
|
|
|
private Collection $typeOfPractices;
|
|
|
|
|
|
#[ORM\Column(nullable: true)]
|
|
|
private ?string $otherPractice = null;
|
|
|
|
|
|
#[ORM\ManyToMany(targetEntity: ContactPoint::class, mappedBy: 'organization')]
|
|
|
- #[ApiResource]
|
|
|
private Collection $contactPoints;
|
|
|
|
|
|
#[ORM\ManyToMany(targetEntity: BankAccount::class, inversedBy: 'organization')]
|
|
|
#[ORM\JoinColumn(name: 'organization_id', referencedColumnName: 'id', unique: true)]
|
|
|
#[ORM\InverseJoinColumn(name: 'bankAccount_id', referencedColumnName: 'id')]
|
|
|
- #[ApiResource]
|
|
|
private Collection $bankAccounts;
|
|
|
|
|
|
#[ORM\OneToMany(mappedBy: 'organization', targetEntity: OrganizationAddressPostal::class, orphanRemoval: true)]
|
|
|
- #[ApiResource]
|
|
|
private Collection $organizationAddressPostals;
|
|
|
|
|
|
#[ORM\OneToMany(mappedBy: 'organization', targetEntity: OrganizationLicence::class, orphanRemoval: true)]
|
|
|
private Collection $organizationLicences;
|
|
|
|
|
|
#[ORM\OneToMany(mappedBy: 'organization', targetEntity: OrganizationArticle::class, orphanRemoval: true)]
|
|
|
- #[ApiResource]
|
|
|
private Collection $organizationArticles;
|
|
|
|
|
|
#[ORM\OneToMany(mappedBy: 'organization', targetEntity: Cycle::class, orphanRemoval: true)]
|
|
|
@@ -258,7 +251,6 @@ class Organization
|
|
|
private Collection $educationTimings;
|
|
|
|
|
|
#[ORM\OneToMany(mappedBy: 'organization', targetEntity: Subdomain::class)]
|
|
|
- #[ApiResource]
|
|
|
private Collection $subdomains;
|
|
|
|
|
|
#[ORM\ManyToOne(inversedBy: 'organizationContacts')]
|