src/Entity/Market.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Traits\CreatedUpdatedTrait;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Table(name="v_market")
  7.  * @ORM\Entity(repositoryClass="App\Repository\MarketRepository")
  8.  */
  9. class Market
  10. {
  11.     /**
  12.      * @ORM\Id()
  13.      * @ORM\GeneratedValue()
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", length=255)
  19.      */
  20.     private $name;
  21.     /**
  22.      * @ORM\Column(type="string", length=255, nullable=true)
  23.      */
  24.     private $title;
  25.     /**
  26.      * @ORM\Column(type="integer")
  27.      */
  28.     private $version;
  29.     /**
  30.      * @ORM\Column(type="string", length=255)
  31.      */
  32.     private $url;
  33.     /**
  34.      * @ORM\Column(type="string", length=255)
  35.      */
  36.     private $identifier;
  37.     /**
  38.      * @ORM\Column(type="text")
  39.      */
  40.     private $description;
  41.     use CreatedUpdatedTrait;
  42.     public function getId(): ?int
  43.     {
  44.         return $this->id;
  45.     }
  46.     public function getName(): ?string
  47.     {
  48.         return $this->name;
  49.     }
  50.     public function setName(string $name): self
  51.     {
  52.         $this->name $name;
  53.         return $this;
  54.     }
  55.     public function getTitle(): ?string
  56.     {
  57.         return $this->title;
  58.     }
  59.     public function setTitle(?string $title): self
  60.     {
  61.         $this->title $title;
  62.         return $this;
  63.     }
  64.     public function getVersion(): ?int
  65.     {
  66.         return $this->version;
  67.     }
  68.     public function setVersion(int $version): self
  69.     {
  70.         $this->version $version;
  71.         return $this;
  72.     }
  73.     public function getUrl(): ?string
  74.     {
  75.         return $this->url;
  76.     }
  77.     public function setUrl(string $url): self
  78.     {
  79.         $this->url $url;
  80.         return $this;
  81.     }
  82.     public function getIdentifier(): ?string
  83.     {
  84.         return $this->identifier;
  85.     }
  86.     public function setIdentifier(string $identifier): self
  87.     {
  88.         $this->identifier $identifier;
  89.         return $this;
  90.     }
  91.     public function getDescription(): ?string
  92.     {
  93.         return $this->description;
  94.     }
  95.     public function setDescription(string $description): self
  96.     {
  97.         $this->description $description;
  98.         return $this;
  99.     }
  100. }