src/Entity/ContactCreationSocieteSalaryEmployee.php line 9

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