src/Entity/MembershipAsso.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\MembershipAssoRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassMembershipAssoRepository::class)]
  7. class MembershipAsso
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id;
  13.     #[ORM\Column(length255)]
  14.     private ?string $name_asso;
  15.     #[ORM\Column(length510)]
  16.     private ?string $address_asso;
  17.     #[ORM\Column(length255)]
  18.     private ?string $name_president;
  19.     #[ORM\Column(length255)]
  20.     private ?string $mail_president;
  21.     #[ORM\Column(length255)]
  22.     private ?string $tel_president;
  23.     #[ORM\Column(length255nullabletrue)]
  24.     private ?string $name_contact;
  25.     #[ORM\Column(length255nullabletrue)]
  26.     private ?string $position_contact;
  27.     #[ORM\Column(length255nullabletrue)]
  28.     private ?string $mail_contact;
  29.     #[ORM\Column(length255nullabletrue)]
  30.     private ?string $tel_contact;
  31.     #[ORM\Column(typeTypes::DATE_MUTABLEnullabletrue)]
  32.     private ?\DateTimeInterface $date_creation;
  33.     public function __construct() {
  34.         $this->date_creation = new \DateTime();
  35.     }
  36.     public function getId(): ?int
  37.     {
  38.         return $this->id;
  39.     }
  40.     public function getNameAsso(): ?string
  41.     {
  42.         return $this->name_asso;
  43.     }
  44.     public function setNameAsso(string $name_asso): static
  45.     {
  46.         $this->name_asso $name_asso;
  47.         return $this;
  48.     }
  49.     public function getAddressAsso(): ?string
  50.     {
  51.         return $this->address_asso;
  52.     }
  53.     public function setAddressAsso(string $address_asso): static
  54.     {
  55.         $this->address_asso $address_asso;
  56.         return $this;
  57.     }
  58.     public function getNamePresident(): ?string
  59.     {
  60.         return $this->name_president;
  61.     }
  62.     public function setNamePresident(string $name_president): static
  63.     {
  64.         $this->name_president $name_president;
  65.         return $this;
  66.     }
  67.     public function getMailPresident(): ?string
  68.     {
  69.         return $this->mail_president;
  70.     }
  71.     public function setMailPresident(string $mail_president): static
  72.     {
  73.         $this->mail_president $mail_president;
  74.         return $this;
  75.     }
  76.     public function getTelPresident(): ?string
  77.     {
  78.         return $this->tel_president;
  79.     }
  80.     public function setTelPresident(string $tel_president): static
  81.     {
  82.         $this->tel_president $tel_president;
  83.         return $this;
  84.     }
  85.     public function getNameContact(): ?string
  86.     {
  87.         return $this->name_contact;
  88.     }
  89.     public function setNameContact(?string $name_contact): static
  90.     {
  91.         $this->name_contact $name_contact;
  92.         return $this;
  93.     }
  94.     public function getPositionContact(): ?string
  95.     {
  96.         return $this->position_contact;
  97.     }
  98.     public function setPositionContact(?string $position_contact): static
  99.     {
  100.         $this->position_contact $position_contact;
  101.         return $this;
  102.     }
  103.     public function getMailContact(): ?string
  104.     {
  105.         return $this->mail_contact;
  106.     }
  107.     public function setMailContact(?string $mail_contact): static
  108.     {
  109.         $this->mail_contact $mail_contact;
  110.         return $this;
  111.     }
  112.     public function getTelContact(): ?string
  113.     {
  114.         return $this->tel_contact;
  115.     }
  116.     public function setTelContact(?string $tel_contact): static
  117.     {
  118.         $this->tel_contact $tel_contact;
  119.         return $this;
  120.     }
  121.     public function getDateCreation(): ?\DateTimeInterface
  122.     {
  123.         return $this->date_creation;
  124.     }
  125.     public function setDateCreation(\DateTimeInterface $date_creation): static
  126.     {
  127.         $this->date_creation $date_creation;
  128.         return $this;
  129.     }
  130. }