src/Entity/Partner.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\PartnerRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=PartnerRepository::class)
  7.  * @ORM\Table(name="partners")
  8.  */
  9. class Partner
  10. {
  11.     /**
  12.      * @ORM\Id()
  13.      * @ORM\GeneratedValue()
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private ?int $id null;
  17.     /**
  18.      * @ORM\Column(type="string", length=255, options={"default": ""})
  19.      */
  20.     private string $title '';
  21.     /**
  22.      * @ORM\Column(type="boolean", options={"default": true})
  23.      */
  24.     private bool $is_blocked true;
  25.     /**
  26.      * @ORM\Column(type="string", length=255, options={"default": ""})
  27.      */
  28.     private string $alias '';
  29.     /**
  30.      * @ORM\Column(type="string", length=255, options={"default": ""})
  31.      */
  32.     private string $url '';
  33.     /**
  34.      * @ORM\Column(type="string", length=255, options={"default": ""})
  35.      */
  36.     private string $secret_key '';
  37.     /**
  38.      * @ORM\Column(type="string", length=255, options={"default": ""})
  39.      */
  40.     private string $client_class_name '';
  41.     /**
  42.      * @ORM\Column(type="string", length=255, options={"default": ""})
  43.      */
  44.     private string $history_url '';
  45.     public function getId(): ?int
  46.     {
  47.         return $this->id;
  48.     }
  49.     public function getTitle(): ?string
  50.     {
  51.         return $this->title;
  52.     }
  53.     public function setTitle(string $title): self
  54.     {
  55.         $this->title $title;
  56.         return $this;
  57.     }
  58.     public function getIsBlocked(): ?bool
  59.     {
  60.         return $this->is_blocked;
  61.     }
  62.     public function setIsBlocked(bool $is_blocked): self
  63.     {
  64.         $this->is_blocked $is_blocked;
  65.         return $this;
  66.     }
  67.     public function getAlias(): ?string
  68.     {
  69.         return $this->alias;
  70.     }
  71.     public function setAlias(string $alias): self
  72.     {
  73.         $this->alias $alias;
  74.         return $this;
  75.     }
  76.     public function getUrl(): string
  77.     {
  78.         return $this->url;
  79.     }
  80.     public function setUrl(string $url): self
  81.     {
  82.         $this->url $url;
  83.         return $this;
  84.     }
  85.     public function getHistoryUrl(): string
  86.     {
  87.         return $this->history_url;
  88.     }
  89.     public function setHistoryUrl(string $history_url): self
  90.     {
  91.         $this->history_url $history_url;
  92.         return $this;
  93.     }
  94.     public function getSecretKey(): string
  95.     {
  96.         return $this->secret_key;
  97.     }
  98.     public function setSecretKey(string $secret_key): self
  99.     {
  100.         $this->secret_key $secret_key;
  101.         return $this;
  102.     }
  103.     public function getClientClassName(): string
  104.     {
  105.         return $this->client_class_name;
  106.     }
  107.     public function setClientClassName(string $client_class_name): self
  108.     {
  109.         $this->client_class_name $client_class_name;
  110.         return $this;
  111.     }
  112. }