<?php

namespace Template\Entity;

/**
* @Entity
* @Table(name="testimony")
*/
class Testimony
{
    /**
    * @Id
    * @GeneratedValue
    * @Column(type="integer")
    */
    private $id;
    /**
    * @Column(type="string")
    */
    private $name;
    /**
    * @Column(type="string")
    */
    private $city;
    /**
    * @Column(type="string", length=2000)
    */
    private $testimony;
    /**
    * @Column(type="string", length=500)
    */
    private $image;
    
    public function getId(): int
    {
        return $this->id;
    }

    public function setId(int $id): self
    {
        $this->id = $id;

        return $this;
    }

    public function getName(): string
    {
        return $this->name;
    }

    public function setName(string $name): self
    {
        $this->name = $name;

        return $this;
    }

    public function getCity(): string
    {
        return $this->city;
    }

    public function setCity(string $city): self
    {
        $this->city = $city;

        return $this;
    }

    public function getTestimony(): string
    {
        return $this->testimony;
    }

    public function setTestimony(string $testimony): self
    {
        $this->testimony = $testimony;

        return $this;
    }

    public function getImage(): string
    {
        return $this->image;
    }

    public function setImage(string $image): self
    {
        $this->image = $image;

        return $this;
    }
}
