src/Entity/MafoId/MafoAdvertisers.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\MafoId;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass="App\Repository\MafoAdvertisersRepository")
  7.  * @ORM\Table
  8.  */
  9. class MafoAdvertisers
  10. {
  11.     /**
  12.      * @ORM\Column(type="integer")
  13.      * @ORM\Id
  14.      * @ORM\GeneratedValue(strategy="AUTO")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", nullable=false)
  19.      */
  20.     private $name;
  21.     /**
  22.      * @ORM\Column(type="string", nullable=false)
  23.      */
  24.     private $accountManagerEmail;
  25.     /**
  26.      * @ORM\Column(type="string", nullable=true)
  27.      */
  28.     private $salesManagerEmail;
  29.     /**
  30.      * @ORM\Column(type="string", nullable=true)
  31.      */
  32.     private $updatedByEmail;
  33.     /**
  34.      * @ORM\Column(type="string", nullable=true)
  35.      */
  36.     private $status;
  37.     /**
  38.      * @ORM\Column(type="string", nullable=true)
  39.      */
  40.     private $discountType;
  41.     /**
  42.      * @ORM\Column(type="integer", nullable=true)
  43.      */
  44.     private $discountValue;
  45.     /**
  46.      * @ORM\Column(type="string", nullable=true, unique=true)
  47.      */
  48.     private $singularOrganizationKey;
  49.     /**
  50.      * @ORM\Column(type="datetime")
  51.      */
  52.     private $dateUpdated;
  53.     /**
  54.      * @ORM\Column(type="datetime")
  55.      */
  56.     private $dateInserted;
  57.     public function getId(): ?int
  58.     {
  59.         return $this->id;
  60.     }
  61.     public function getName(): ?string
  62.     {
  63.         return $this->name;
  64.     }
  65.     public function setName(string $name): self
  66.     {
  67.         $this->name $name;
  68.         return $this;
  69.     }
  70.     public function getDateUpdated(): ?\DateTimeInterface
  71.     {
  72.         return $this->dateUpdated;
  73.     }
  74.     public function setDateUpdated(\DateTimeInterface $dateUpdated): self
  75.     {
  76.         $this->dateUpdated $dateUpdated;
  77.         return $this;
  78.     }
  79.     public function getDateInserted(): ?\DateTimeInterface
  80.     {
  81.         return $this->dateInserted;
  82.     }
  83.     public function setDateInserted(\DateTimeInterface $dateInserted): self
  84.     {
  85.         $this->dateInserted $dateInserted;
  86.         return $this;
  87.     }
  88.     public function getAccountManagerEmail(): ?string
  89.     {
  90.         return $this->accountManagerEmail;
  91.     }
  92.     public function setAccountManagerEmail(string $accountManagerEmail): static
  93.     {
  94.         $this->accountManagerEmail $accountManagerEmail;
  95.         return $this;
  96.     }
  97.     public function getSalesManagerEmail(): ?string
  98.     {
  99.         return $this->salesManagerEmail;
  100.     }
  101.     public function setSalesManagerEmail(?string $salesManagerEmail): static
  102.     {
  103.         $this->salesManagerEmail $salesManagerEmail;
  104.         return $this;
  105.     }
  106.     public function getUpdatedByEmail(): ?string
  107.     {
  108.         return $this->updatedByEmail;
  109.     }
  110.     public function setUpdatedByEmail(?string $updatedByEmail): static
  111.     {
  112.         $this->updatedByEmail $updatedByEmail;
  113.         return $this;
  114.     }
  115.     public function getStatus(): ?string
  116.     {
  117.         return $this->status;
  118.     }
  119.     public function setStatus(?string $status): static
  120.     {
  121.         $this->status $status;
  122.         return $this;
  123.     }
  124.     public function getDiscountType(): ?string
  125.     {
  126.         return $this->discountType;
  127.     }
  128.     public function setDiscountType(?string $discountType): static
  129.     {
  130.         $this->discountType $discountType;
  131.         return $this;
  132.     }
  133.     public function getDiscountValue(): ?int
  134.     {
  135.         return $this->discountValue;
  136.     }
  137.     public function setDiscountValue(?int $discountValue): static
  138.     {
  139.         $this->discountValue $discountValue;
  140.         return $this;
  141.     }
  142.     public function getSingularOrganizationKey(): ?string
  143.     {
  144.         return $this->singularOrganizationKey;
  145.     }
  146.     public function setSingularOrganizationKey(?string $singularOrganizationKey): static
  147.     {
  148.         $this->singularOrganizationKey $singularOrganizationKey;
  149.         return $this;
  150.     }
  151. }