src/Entity/Provenances.php line 16

Open in your IDE?
  1. <?php
  2. /**
  3.  * Provenances.php
  4.  * Created by Sunendra Gajadhar
  5.  * Date: 2024-02-05 at 09:02
  6.  */
  7. namespace App\Entity;
  8. use Doctrine\ORM\Mapping as ORM;
  9. /**
  10.  * @ORM\Entity
  11.  * @ORM\Table(name="tprovenances")
  12.  * @ORM\Entity(repositoryClass="App\Repository\ProvenancesRepository")
  13.  */
  14. class Provenances
  15. {
  16.     /**
  17.      * @ORM\Column(type="integer")
  18.      * @ORM\Id
  19.      * @ORM\GeneratedValue(strategy="AUTO")
  20.      */
  21.     protected $id;
  22.     /**
  23.      * @ORM\Column(name="description", type="string", length=255)
  24.      */
  25.     protected $description;
  26.     /**
  27.      * @return mixed
  28.      */
  29.     public function getId()
  30.     {
  31.         return $this->id;
  32.     }
  33.     /**
  34.      * @param $id
  35.      * @return mixed
  36.      */
  37.     public function setId($id)
  38.     {
  39.         $this->id $id;
  40.     }
  41.     /**
  42.      * @return mixed
  43.      */
  44.     public function getDescription()
  45.     {
  46.         return $this->description;
  47.     }
  48.     /**
  49.      * @param mixed $description
  50.      */
  51.     public function setDescription($description)
  52.     {
  53.         $this->description $description;
  54.     }
  55. }