Allow data pass to entities

[PREMIUM-142]
This commit is contained in:
Pavel Dohnal
2020-05-06 14:53:36 +02:00
committed by Veljko V
parent 0583e84b15
commit ea06c2a27b
4 changed files with 75 additions and 11 deletions

View File

@@ -73,4 +73,39 @@ class StatisticsClickEntity {
$this->safelyLoadToOneAssociation('link');
return $this->link;
}
/**
* @param NewsletterEntity|null $newsletter
*/
public function setNewsletter($newsletter) {
$this->newsletter = $newsletter;
}
/**
* @param SendingQueueEntity|null $queue
*/
public function setQueue($queue) {
$this->queue = $queue;
}
/**
* @param int|null $subscriberId
*/
public function setSubscriberId($subscriberId) {
$this->subscriberId = $subscriberId;
}
/**
* @param NewsletterLinkEntity|null $link
*/
public function setLink($link) {
$this->link = $link;
}
/**
* @param int $count
*/
public function setCount(int $count) {
$this->count = $count;
}
}