1
0
Fork 0
mirror of synced 2025-04-13 05:50:55 +00:00

Merge pull request #55 from Chupocabra/add-dialogs-utm

Utm information in dialog
This commit is contained in:
Pavel 2025-04-11 16:58:50 +03:00 committed by GitHub
commit 9927490844
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -119,6 +119,15 @@ class Dialog implements ModelInterface
*/
private $isActive;
/**
* @var Utm $utm
*
* @Type("RetailCrm\Mg\Bot\Model\Entity\Utm")
* @Accessor(getter="getUtm",setter="setUtm")
* @SkipWhenEmpty()
*/
private $utm;
/**
* @return string|null
*/
@ -294,4 +303,21 @@ class Dialog implements ModelInterface
{
$this->isActive = $isActive;
}
/**
* @return Utm|null
*/
public function getUtm(): ?Utm
{
return $this->utm;
}
/**
* @param Utm $utm
* @return void
*/
public function setUtm(Utm $utm): void
{
$this->utm = $utm;
}
}