|
|
@@ -35,6 +35,9 @@ class Product
|
|
|
#[ORM\Column]
|
|
|
protected mixed $subCategory;
|
|
|
|
|
|
+ /**
|
|
|
+ * @var array<string>
|
|
|
+ */
|
|
|
#[ORM\Column(type: 'json', options: ['nullable' => true])]
|
|
|
protected array $categories;
|
|
|
|
|
|
@@ -44,6 +47,9 @@ class Product
|
|
|
#[ORM\Column]
|
|
|
protected mixed $datetimeEnd;
|
|
|
|
|
|
+ /**
|
|
|
+ * @var array<string>
|
|
|
+ */
|
|
|
#[ORM\Column(type: 'json', options: ['nullable' => true])]
|
|
|
protected array $meetingSchedule;
|
|
|
|
|
|
@@ -164,11 +170,18 @@ class Product
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * @return string[]
|
|
|
+ */
|
|
|
function getCategories(): array
|
|
|
{
|
|
|
return $this->categories;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * @param string[] $categories
|
|
|
+ * @return self
|
|
|
+ */
|
|
|
function setCategories(array $categories): self
|
|
|
{
|
|
|
$this->categories = $categories;
|
|
|
@@ -197,11 +210,18 @@ class Product
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * @return string[]
|
|
|
+ */
|
|
|
function getMeetingSchedule(): array
|
|
|
{
|
|
|
return $this->meetingSchedule;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * @param array<string> $meetingSchedule
|
|
|
+ * @return $this
|
|
|
+ */
|
|
|
function setMeetingSchedule(array $meetingSchedule): self
|
|
|
{
|
|
|
$this->meetingSchedule = $meetingSchedule;
|