src/Entity/ContactCreationSocieteCharge.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ContactCreationSocieteChargeRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassContactCreationSocieteChargeRepository::class)]
  6. class ContactCreationSocieteCharge
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column(type'integer')]
  11.     private $id;
  12.     #[ORM\Column(type'string'length255)]
  13.     private $name;
  14.     #[ORM\Column(type'string'length255)]
  15.     private $amount;
  16.     #[ORM\Column(type'string'length255)]
  17.     private $frequency;
  18.     #[ORM\ManyToOne(targetEntityContactCreationSociete::class, inversedBy'contactCreationSocieteCharges')]
  19.     private $contactCreationSociete;
  20.     public function getId(): ?int
  21.     {
  22.         return $this->id;
  23.     }
  24.     public function getName(): ?string
  25.     {
  26.         return $this->name;
  27.     }
  28.     public function setName(string $name): self
  29.     {
  30.         $this->name $name;
  31.         return $this;
  32.     }
  33.     public function getAmount(): ?string
  34.     {
  35.         return $this->amount;
  36.     }
  37.     public function setAmount(string $amount): self
  38.     {
  39.         $this->amount $amount;
  40.         return $this;
  41.     }
  42.     public function getFrequency(): ?string
  43.     {
  44.         return $this->frequency;
  45.     }
  46.     public function setFrequency(string $frequency): self
  47.     {
  48.         $this->frequency $frequency;
  49.         return $this;
  50.     }
  51.     public function getContactCreationSociete(): ?ContactCreationSociete
  52.     {
  53.         return $this->contactCreationSociete;
  54.     }
  55.     public function setContactCreationSociete(?ContactCreationSociete $contactCreationSociete): self
  56.     {
  57.         $this->contactCreationSociete $contactCreationSociete;
  58.         return $this;
  59.     }
  60. }