Add userAgentType property to statistics entities

[MAILPOET-3736]
This commit is contained in:
Jan Lysý
2021-08-19 12:57:25 +02:00
committed by Veljko V
parent 9192602adf
commit 34ad21187d
2 changed files with 28 additions and 0 deletions

View File

@ -58,6 +58,12 @@ class StatisticsClickEntity {
*/
private $userAgent;
/**
* @ORM\Column(type="string", nullable=true)
* @var string|null
*/
private $userAgentType;
/**
* @ORM\Column(type="integer")
* @var int
@ -163,4 +169,12 @@ class StatisticsClickEntity {
public function setUserAgent(?UserAgentEntity $userAgent): void {
$this->userAgent = $userAgent;
}
public function getUserAgentType(): ?string {
return $this->userAgentType;
}
public function setUserAgentType(?string $userAgentType): void {
$this->userAgentType = $userAgentType;
}
}