src/Entity/FormEntry.php line 10
<?php
namespace App\Entity;
use App\Repository\FormEntryRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: FormEntryRepository::class)]
class FormEntry
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $form_type = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $full_name = null;
#[ORM\Column(length: 255)]
private ?string $email = null;
#[ORM\Column(type: Types::TEXT, nullable: true)]
private ?string $message = null;
#[ORM\Column]
private ?bool $terms = null;
#[ORM\Column(nullable: true)]
private ?bool $own_content = null;
#[ORM\Column(nullable: true)]
private ?bool $tip_name = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $link_to_url = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $category = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $institution = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $location = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $kind = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $study_level = null;
public function getId(): ?int
{
return $this->id;
}
public function getFormType(): ?string
{
return $this->form_type;
}
public function setFormType(string $form_type): self
{
$this->form_type = $form_type;
return $this;
}
public function getFullName(): ?string
{
return $this->full_name;
}
public function setFullName(?string $full_name): self
{
$this->full_name = $full_name;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
public function getMessage(): ?string
{
return $this->message;
}
public function setMessage(?string $message): self
{
$this->message = $message;
return $this;
}
public function isTerms(): ?bool
{
return $this->terms;
}
public function setTerms(bool $terms): self
{
$this->terms = $terms;
return $this;
}
public function isOwnContent(): ?bool
{
return $this->own_content;
}
public function setOwnContent(bool $ownContent): self
{
$this->own_content = $ownContent;
return $this;
}
public function isTipName(): ?bool
{
return $this->tip_name;
}
public function setTipName(bool $tipName): self
{
$this->tip_name = $tipName;
return $this;
}
public function getLinkToUrl(): ?string
{
return $this->link_to_url;
}
public function setLinkToUrl(?string $link_to_url): self
{
$this->link_to_url = $link_to_url;
return $this;
}
public function getCategory(): ?string
{
return $this->category;
}
public function setCategory(?string $category): self
{
$this->category = $category;
return $this;
}
public function getInstitution(): ?string
{
return $this->institution;
}
public function setInstitution(?string $institution): self
{
$this->institution = $institution;
return $this;
}
public function getLocation(): ?string
{
return $this->location;
}
public function setLocation(?string $location): self
{
$this->location = $location;
return $this;
}
public function getKind(): ?string
{
return $this->kind;
}
public function setKind(?string $kind): self
{
$this->kind = $kind;
return $this;
}
public function getStudyLevel(): ?string
{
return $this->study_level;
}
public function setStudyLevel(?string $study_level): self
{
$this->study_level = $study_level;
return $this;
}
}