[DATABASE][AUTOCODE] Autogenerated fields, setters and getters for each entity
This commit is contained in:
@@ -37,6 +37,40 @@ class SubscriptionQueue
|
||||
{
|
||||
// {{{ Autocode
|
||||
|
||||
private int $subscriber;
|
||||
private int $subscribed;
|
||||
private DateTime $created;
|
||||
|
||||
public function setSubscriber(int $subscriber): self
|
||||
{
|
||||
$this->subscriber = $subscriber;
|
||||
return $this;
|
||||
}
|
||||
public function getSubscriber(): int
|
||||
{
|
||||
return $this->subscriber;
|
||||
}
|
||||
|
||||
public function setSubscribed(int $subscribed): self
|
||||
{
|
||||
$this->subscribed = $subscribed;
|
||||
return $this;
|
||||
}
|
||||
public function getSubscribed(): int
|
||||
{
|
||||
return $this->subscribed;
|
||||
}
|
||||
|
||||
public function setCreated(DateTime $created): self
|
||||
{
|
||||
$this->created = $created;
|
||||
return $this;
|
||||
}
|
||||
public function getCreated(): DateTime
|
||||
{
|
||||
return $this->created;
|
||||
}
|
||||
|
||||
// }}} Autocode
|
||||
|
||||
public static function schemaDef(): array
|
||||
|
Reference in New Issue
Block a user