<?php
namespace App\Entity;
use App\Repository\PartnerRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=PartnerRepository::class)
* @ORM\Table(name="partners")
*/
class Partner
{
/**
* @ORM\Id()
* @ORM\GeneratedValue()
* @ORM\Column(type="integer")
*/
private ?int $id = null;
/**
* @ORM\Column(type="string", length=255, options={"default": ""})
*/
private string $title = '';
/**
* @ORM\Column(type="boolean", options={"default": true})
*/
private bool $is_blocked = true;
/**
* @ORM\Column(type="string", length=255, options={"default": ""})
*/
private string $alias = '';
/**
* @ORM\Column(type="string", length=255, options={"default": ""})
*/
private string $url = '';
/**
* @ORM\Column(type="string", length=255, options={"default": ""})
*/
private string $secret_key = '';
/**
* @ORM\Column(type="string", length=255, options={"default": ""})
*/
private string $client_class_name = '';
/**
* @ORM\Column(type="string", length=255, options={"default": ""})
*/
private string $history_url = '';
public function getId(): ?int
{
return $this->id;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setTitle(string $title): self
{
$this->title = $title;
return $this;
}
public function getIsBlocked(): ?bool
{
return $this->is_blocked;
}
public function setIsBlocked(bool $is_blocked): self
{
$this->is_blocked = $is_blocked;
return $this;
}
public function getAlias(): ?string
{
return $this->alias;
}
public function setAlias(string $alias): self
{
$this->alias = $alias;
return $this;
}
public function getUrl(): string
{
return $this->url;
}
public function setUrl(string $url): self
{
$this->url = $url;
return $this;
}
public function getHistoryUrl(): string
{
return $this->history_url;
}
public function setHistoryUrl(string $history_url): self
{
$this->history_url = $history_url;
return $this;
}
public function getSecretKey(): string
{
return $this->secret_key;
}
public function setSecretKey(string $secret_key): self
{
$this->secret_key = $secret_key;
return $this;
}
public function getClientClassName(): string
{
return $this->client_class_name;
}
public function setClientClassName(string $client_class_name): self
{
$this->client_class_name = $client_class_name;
return $this;
}
}