<?php
namespace App\Entity;
use App\Repository\TPermohonanRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table(name="t_permohonan")
* @ORM\Entity(repositoryClass=TPermohonanRepository::class)
*/
class TPermohonan
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $nama;
/**
* @ORM\Column(type="string", length=255)
*/
private $telepon;
/**
* @ORM\Column(type="string", length=255)
*/
private $email;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
public $desk_pekerjaan;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
public $judul_data;
/**
* @ORM\Column(type="text", nullable=true)
*/
public $desk_kebutuhan;
/**
* @ORM\Column(type="text", nullable=true)
*/
public $tujuan_data;
/**
* @ORM\ManyToOne(targetEntity=TDiv::class, inversedBy="tPermohonans")
*/
private $div;
/**
* @ORM\ManyToOne(targetEntity=MPekerjaan::class, inversedBy="tPermohonans")
*/
private $pekerjaan;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
public $created_at;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $updated_at;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
public $is_done;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $file_bukti;
public function getId(): ?int
{
return $this->id;
}
public function getNama(): ?string
{
return $this->nama;
}
public function setNama(string $nama): self
{
$this->nama = $nama;
return $this;
}
public function getTelepon(): ?string
{
return $this->telepon;
}
public function setTelepon(string $telepon): self
{
$this->telepon = $telepon;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): self
{
$this->email = $email;
return $this;
}
public function getDeskPekerjaan(): ?string
{
return $this->desk_pekerjaan;
}
public function setDeskPekerjaan(?string $desk_pekerjaan): self
{
$this->desk_pekerjaan = $desk_pekerjaan;
return $this;
}
public function getJudulData(): ?string
{
return $this->judul_data;
}
public function setJudulData(?string $judul_data): self
{
$this->judul_data = $judul_data;
return $this;
}
public function getDeskKebutuhan(): ?string
{
return $this->desk_kebutuhan;
}
public function setDeskKebutuhan(?string $desk_kebutuhan): self
{
$this->desk_kebutuhan = $desk_kebutuhan;
return $this;
}
public function getTujuanData(): ?string
{
return $this->tujuan_data;
}
public function setTujuanData(?string $tujuan_data): self
{
$this->tujuan_data = $tujuan_data;
return $this;
}
public function getDiv(): ?TDiv
{
return $this->div;
}
public function setDiv(?TDiv $div): self
{
$this->div = $div;
return $this;
}
public function getPekerjaan(): ?MPekerjaan
{
return $this->pekerjaan;
}
public function setPekerjaan(?MPekerjaan $pekerjaan): self
{
$this->pekerjaan = $pekerjaan;
return $this;
}
public function getCreatedAt(): ?\DateTimeInterface
{
return $this->created_at;
}
public function setCreatedAt(?\DateTimeInterface $created_at): self
{
$this->created_at = $created_at;
return $this;
}
public function getUpdatedAt(): ?\DateTimeInterface
{
return $this->updated_at;
}
public function setUpdatedAt(?\DateTimeInterface $updated_at): self
{
$this->updated_at = $updated_at;
return $this;
}
public function getIsDone(): ?bool
{
return $this->is_done;
}
public function setIsDone(?bool $is_done): self
{
$this->is_done = $is_done;
return $this;
}
public function getFileBukti(): ?string
{
return $this->file_bukti;
}
public function setFileBukti(?string $file_bukti): self
{
$this->file_bukti = $file_bukti;
return $this;
}
}