Skip to content

Commit

Permalink
update Address model
Browse files Browse the repository at this point in the history
  • Loading branch information
svewap committed Oct 2, 2024
1 parent 9ee188f commit a569e45
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions Classes/Domain/Model/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,21 +256,32 @@ class Address extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
protected int $detailPid;

/**
* no default value
* @var float
*/
protected float $longitude = 0.0;
protected float $longitude;

/**
* no default value
* @var float
*/
protected float $latitude = 0.0;
protected float $latitude;

/**
* @var ObjectStorage<Contact>
* @TYPO3\CMS\Extbase\Annotation\ORM\Lazy
*/
protected $contacts;

/**
* @var FileReference|null
*/
protected $markerIcon;

/**
* @var string
*/
protected $markerColor;

/**
* @var \DateTime
Expand Down Expand Up @@ -1308,4 +1319,25 @@ public function getFirstEmailAddress(): string {
return '';
}

public function getMarkerIcon(): ?FileReference
{
return $this->markerIcon;
}

public function setMarkerIcon(?FileReference $markerIcon): void
{
$this->markerIcon = $markerIcon;
}

public function getMarkerColor(): string
{
return $this->markerColor;
}

public function setMarkerColor(string $markerColor): void
{
$this->markerColor = $markerColor;
}


}

0 comments on commit a569e45

Please sign in to comment.