vendor/roothirsch/pim-bundle/Entity/DataSource/ExcelSource.php line 11

Open in your IDE?
  1. <?php
  2. namespace Roothirsch\PimBundle\Entity\DataSource;
  3. use Roothirsch\PimBundle\Entity\DataSource as EntityDataSource;
  4. use App\Repository\DataSourceRepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7. * @ORM\Entity
  8. */
  9. class ExcelSource extends EntityDataSource
  10. {
  11. /**
  12. * @ORM\Column(type="string", length=255)
  13. */
  14. private $filepath;
  15. /**
  16. * @ORM\Column(type="integer")
  17. */
  18. private $headerRow;
  19. /**
  20. * @ORM\Column(type="string", length=255)
  21. */
  22. private $idColumn;
  23. /**
  24. * @ORM\Column(type="string", length=1024)
  25. */
  26. private $filter;
  27. /**
  28. * @ORM\Column(type="string", length=255)
  29. */
  30. private $articleIdentifier;
  31. /**
  32. * @ORM\Column(type="string", length=255)
  33. */
  34. private $productIdentifier;
  35. public function getFilepath(): ?string
  36. {
  37. return $this->filepath;
  38. }
  39. public function setFilepath(string $filepath): self
  40. {
  41. $this->filepath = $filepath;
  42. return $this;
  43. }
  44. public function getHeaderRow(): ?int
  45. {
  46. return $this->headerRow;
  47. }
  48. public function setHeaderRow(int $headerRow): self
  49. {
  50. $this->headerRow = $headerRow;
  51. return $this;
  52. }
  53. public function getIdColumn(): ?string
  54. {
  55. return $this->idColumn;
  56. }
  57. public function setIdColumn(string $idColumn): self
  58. {
  59. $this->idColumn = $idColumn;
  60. return $this;
  61. }
  62. public function getFilter(): ?string
  63. {
  64. return $this->filter;
  65. }
  66. public function setFilter(string $filter): self
  67. {
  68. $this->filter = $filter;
  69. return $this;
  70. }
  71. public function getArticleIdentifier(): ?string
  72. {
  73. return $this->articleIdentifier;
  74. }
  75. public function setArticleIdentifier(string $articleIdentifier): self
  76. {
  77. $this->articleIdentifier = $articleIdentifier;
  78. return $this;
  79. }
  80. public function getProductIdentifier(): ?string
  81. {
  82. return $this->productIdentifier;
  83. }
  84. public function setProductIdentifier(string $productIdentifier): self
  85. {
  86. $this->productIdentifier = $productIdentifier;
  87. return $this;
  88. }
  89. }