<?php
namespace App\Entity;
use App\Repository\FeedbackRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=FeedbackRepository::class)
*/
class Feedback
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $rating;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $tujuan;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $sektor;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
public $is_found;
/**
* @ORM\Column(type="boolean", nullable=true)
*/
public $mudah_ditemukan;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $kendala;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $saran;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
public $created_at;
public function getId(): ?int
{
return $this->id;
}
public function getRating(): ?int
{
return $this->rating;
}
public function setRating(?int $rating): self
{
$this->rating = $rating;
return $this;
}
public function getTujuan(): ?string
{
return $this->tujuan;
}
public function setTujuan(?string $tujuan): self
{
$this->tujuan = $tujuan;
return $this;
}
public function getSektor(): ?string
{
return $this->sektor;
}
public function setSektor(?string $sektor): self
{
$this->sektor = $sektor;
return $this;
}
public function getIsFound(): ?bool
{
return $this->is_found;
}
public function setIsFound(?bool $is_found): self
{
$this->is_found = $is_found;
return $this;
}
public function getMudahDitemukan(): ?bool
{
return $this->mudah_ditemukan;
}
public function setMudahDitemukan(?bool $mudah_ditemukan): self
{
$this->mudah_ditemukan = $mudah_ditemukan;
return $this;
}
public function getKendala(): ?string
{
return $this->kendala;
}
public function setKendala(?string $kendala): self
{
$this->kendala = $kendala;
return $this;
}
public function getSaran(): ?string
{
return $this->saran;
}
public function setSaran(?string $saran): self
{
$this->saran = $saran;
return $this;
}
public function getCreatedAt(): ?\DateTimeInterface
{
return $this->created_at;
}
public function setCreatedAt(?\DateTimeInterface $created_at): self
{
$this->created_at = $created_at;
return $this;
}
}