src/Entity/Vista/ConcessionItem.php line 12

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Entity\Vista;
  4. use JMS\Serializer\Annotation as Serializer;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=App\Repository\ConcessionItemRepository::class)
  8.  */
  9. class ConcessionItem
  10. {
  11.     /**
  12.      * @ORM\Id()
  13.      * @ORM\GeneratedValue()
  14.      * @ORM\Column(type="integer")
  15.      * @var integer
  16.      */
  17.     protected $idx;
  18.     /**
  19.      * Original
  20.      *
  21.      * @var string
  22.      * @Serializer\Type("string")
  23.      * @ORM\Column(type="string")
  24.      */
  25.     protected $id;
  26.     /**
  27.      * Original
  28.      *
  29.      * @var string
  30.      * @Serializer\Type("string")
  31.      * @ORM\Column(type="string")
  32.      */
  33.     protected $imagePath;
  34.     /**
  35.      * Original
  36.      * 
  37.      * @var string
  38.      * @Serializer\Type("string")
  39.      * @ORM\Column(type="string", length=10)
  40.      */
  41.     protected $cinemaId;
  42.     /**
  43.      * Original
  44.      * 
  45.      * @var string
  46.      * @Serializer\Type("string")
  47.      * @ORM\Column(type="string", length=255, nullable=true)
  48.      */
  49.     private $headOfficeItemCode;
  50.     /**
  51.      * Original
  52.      * 
  53.      * @var string
  54.      * @Serializer\Type("string")
  55.      * @ORM\Column(type="string", length=255, nullable=true)
  56.      */
  57.     private $descriptionAlt;
  58.     /**
  59.      * Original
  60.      *
  61.      * @var string|null
  62.      * @Serializer\Type("string")
  63.      * @ORM\Column(type="string", length=255, nullable=true)
  64.      */
  65.     protected $description;
  66.     /**
  67.      * Original
  68.      *
  69.      * @var integer|null
  70.      * @Serializer\Type("integer")
  71.      * @ORM\Column(type="integer")
  72.      */
  73.     protected $priceInCents;
  74.     /**
  75.      * Original
  76.      *
  77.      * @var string|null
  78.      * @Serializer\Type("string")
  79.      * @ORM\Column(type="string", length=255)
  80.      */
  81.     private $itemClassCode;
  82.     /**
  83.      * @return int
  84.      */
  85.     public function getIdx(): int
  86.     {
  87.         return $this->idx;
  88.     }
  89.     /**
  90.      * @param int $idx
  91.      * @return ConcessionItem
  92.      */
  93.     public function setIdx(int $idx): ConcessionItem
  94.     {
  95.         $this->idx $idx;
  96.         return $this;
  97.     }
  98.     /**
  99.      * @return string
  100.      */
  101.     public function getId(): string
  102.     {
  103.         return $this->id;
  104.     }
  105.     /**
  106.      * @param string|null $id
  107.      * @return ConcessionItem
  108.      */
  109.     public function setId(string $id): ConcessionItem
  110.     {
  111.         $this->id $id;
  112.         return $this;
  113.     }
  114.     /**
  115.      * @return string
  116.      */
  117.     public function getImagePath(): string
  118.     {
  119.         return $this->imagePath;
  120.     }
  121.     /**
  122.      * @param string|null $imagePath
  123.      * @return ConcessionItem
  124.      */
  125.     public function setImagePath(string $imagePath): ConcessionItem
  126.     {
  127.         $this->imagePath $imagePath;
  128.         return $this;
  129.     }
  130.     /**
  131.      * @return string
  132.      */
  133.     public function getCinemaId(): string
  134.     {
  135.         return $this->cinemaId;
  136.     }
  137.     /**
  138.      * @param string $cinemaId
  139.      * @return ConcessionItem
  140.      */
  141.     public function setCinemaId(string $cinemaId): self
  142.     {
  143.         $this->cinemaId $cinemaId;
  144.         return $this;
  145.     }
  146.     /**
  147.      * @return string|null
  148.      */
  149.     public function getDescription(): ?string
  150.     {
  151.         return $this->description;
  152.     }
  153.     /**
  154.      * @param string|null $description
  155.      * @return ConcessionItem
  156.      */
  157.     public function setDescription(?string $description): ConcessionItem
  158.     {
  159.         $this->description $description;
  160.         return $this;
  161.     }
  162.     /**
  163.      * @return string|null
  164.      */
  165.     public function getHeadOfficeItemCode(): ?string
  166.     {
  167.         return $this->headOfficeItemCode;
  168.     }
  169.     /**
  170.      * @param string|null $headOfficeItemCode
  171.      * @return ConcessionItem
  172.      */
  173.     public function setHeadOfficeItemCode(?string $headOfficeItemCode): self
  174.     {
  175.         $this->headOfficeItemCode $headOfficeItemCode;
  176.         return $this;
  177.     }
  178.     /**
  179.      * @return string|null
  180.      */
  181.     public function getDescriptionAlt(): ?string
  182.     {
  183.         return $this->descriptionAlt;
  184.     }
  185.     /**
  186.      * @param string|null $descriptionAlt
  187.      * @return ConcessionItem
  188.      */
  189.     public function setDescriptionAlt(?string $descriptionAlt): self
  190.     {
  191.         $this->descriptionAlt $descriptionAlt;
  192.         return $this;
  193.     }
  194.     /**
  195.      * @return int|null
  196.      */
  197.     public function getPriceInCents(): ?int
  198.     {
  199.         return $this->priceInCents;
  200.     }
  201.     /**
  202.      * @param int|null $priceInCents
  203.      * @return ConcessionItem
  204.      */
  205.     public function setPriceInCents(?int $priceInCents): ConcessionItem
  206.     {
  207.         $this->priceInCents $priceInCents;
  208.         return $this;
  209.     }
  210.     /**
  211.      * @return string
  212.      */
  213.     public function getItemClassCode(): ?string
  214.     {
  215.         return $this->itemClassCode;
  216.     }
  217.     /**
  218.      * @param string $itemClassCode
  219.      * @return ConcessionItem
  220.      */
  221.     public function setItemClassCode(string $itemClassCode): self
  222.     {
  223.         $this->itemClassCode $itemClassCode;
  224.         return $this;
  225.     }
  226. }