From 6193062590c494a5521b720c41f0a0edbae1da72 Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Mon, 30 Mar 2020 15:13:51 +0000 Subject: [PATCH] [DATABASE][AUTOCODE] Autogenerated fields, setters and getters for each entity --- src/Entity/Attention.php | 56 +++++ src/Entity/Avatar.php | 89 ++++++++ src/Entity/Config.php | 34 +++ src/Entity/ConfirmAddress.php | 89 ++++++++ src/Entity/Consumer.php | 56 +++++ src/Entity/Conversation.php | 56 +++++ src/Entity/File.php | 144 +++++++++++++ src/Entity/FileRedirection.php | 67 ++++++ src/Entity/FileThumbnail.php | 78 +++++++ src/Entity/FileToPost.php | 34 +++ src/Entity/ForeignLink.php | 122 +++++++++++ src/Entity/ForeignService.php | 56 +++++ src/Entity/ForeignSubscription.php | 45 ++++ src/Entity/ForeignUser.php | 67 ++++++ src/Entity/GroupAlias.php | 34 +++ src/Entity/GroupBlock.php | 45 ++++ src/Entity/GroupInbox.php | 34 +++ src/Entity/GroupJoinQueue.php | 34 +++ src/Entity/GroupMember.php | 67 ++++++ src/Entity/Invitation.php | 67 ++++++ src/Entity/LocalGroup.php | 45 ++++ src/Entity/LocationNamespace.php | 45 ++++ src/Entity/LoginToken.php | 45 ++++ src/Entity/Nonce.php | 67 ++++++ src/Entity/Notice.php | 177 +++++++++++++++ src/Entity/NoticeLocation.php | 67 ++++++ src/Entity/NoticePrefs.php | 67 ++++++ src/Entity/NoticeSource.php | 67 ++++++ src/Entity/NoticeTag.php | 34 +++ src/Entity/OauthApplication.php | 155 +++++++++++++ src/Entity/OauthApplicationUser.php | 67 ++++++ src/Entity/OauthTokenAssociation.php | 56 +++++ src/Entity/OldSchoolPrefs.php | 67 ++++++ src/Entity/Profile.php | 144 +++++++++++++ src/Entity/ProfileBlock.php | 34 +++ src/Entity/ProfileList.php | 122 +++++++++++ src/Entity/ProfilePrefs.php | 67 ++++++ src/Entity/ProfileRole.php | 34 +++ src/Entity/ProfileTag.php | 45 ++++ src/Entity/ProfileTagSubscription.php | 45 ++++ src/Entity/QueueItem.php | 56 +++++ src/Entity/RelatedGroup.php | 34 +++ src/Entity/RememberMe.php | 34 +++ src/Entity/Reply.php | 45 ++++ src/Entity/SchemaVersion.php | 34 +++ src/Entity/Session.php | 45 ++++ src/Entity/SmsCarrier.php | 56 +++++ src/Entity/Subscription.php | 100 +++++++++ src/Entity/SubscriptionQueue.php | 34 +++ src/Entity/Token.php | 100 +++++++++ src/Entity/UnavailableStatusNetwork.php | 23 ++ src/Entity/User.php | 276 ++++++++++++++++++++++++ src/Entity/UserGroup.php | 188 ++++++++++++++++ src/Entity/UserImPrefs.php | 89 ++++++++ src/Entity/UserLocationPrefs.php | 45 ++++ src/Entity/UserUrlshortenerPrefs.php | 67 ++++++ src/Entity/UserUsername.php | 56 +++++ 57 files changed, 4006 insertions(+) diff --git a/src/Entity/Attention.php b/src/Entity/Attention.php index c1c09c5608..c06c0b703d 100644 --- a/src/Entity/Attention.php +++ b/src/Entity/Attention.php @@ -37,6 +37,62 @@ class Attention { // {{{ Autocode + private int $notice_id; + private int $profile_id; + private ?string $reason; + private DateTime $created; + private DateTime $modified; + + public function setNoticeId(int $notice_id): self + { + $this->notice_id = $notice_id; + return $this; + } + public function getNoticeId(): int + { + return $this->notice_id; + } + + public function setProfileId(int $profile_id): self + { + $this->profile_id = $profile_id; + return $this; + } + public function getProfileId(): int + { + return $this->profile_id; + } + + public function setReason(?string $reason): self + { + $this->reason = $reason; + return $this; + } + public function getReason(): ?string + { + return $this->reason; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/Avatar.php b/src/Entity/Avatar.php index 27d9353f0d..fbfa3407e1 100644 --- a/src/Entity/Avatar.php +++ b/src/Entity/Avatar.php @@ -37,6 +37,95 @@ class Avatar { // {{{ Autocode + private int $profile_id; + private ?bool $original; + private int $width; + private int $height; + private string $mediatype; + private ?string $filename; + private DateTime $created; + private DateTime $modified; + + public function setProfileId(int $profile_id): self + { + $this->profile_id = $profile_id; + return $this; + } + public function getProfileId(): int + { + return $this->profile_id; + } + + public function setOriginal(?bool $original): self + { + $this->original = $original; + return $this; + } + public function getOriginal(): ?bool + { + return $this->original; + } + + public function setWidth(int $width): self + { + $this->width = $width; + return $this; + } + public function getWidth(): int + { + return $this->width; + } + + public function setHeight(int $height): self + { + $this->height = $height; + return $this; + } + public function getHeight(): int + { + return $this->height; + } + + public function setMediatype(string $mediatype): self + { + $this->mediatype = $mediatype; + return $this; + } + public function getMediatype(): string + { + return $this->mediatype; + } + + public function setFilename(?string $filename): self + { + $this->filename = $filename; + return $this; + } + public function getFilename(): ?string + { + return $this->filename; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/Config.php b/src/Entity/Config.php index 370f2e5400..7fadf6261b 100644 --- a/src/Entity/Config.php +++ b/src/Entity/Config.php @@ -37,6 +37,40 @@ class Config { // {{{ Autocode + private string $section; + private string $setting; + private ?string $value; + + public function setSection(string $section): self + { + $this->section = $section; + return $this; + } + public function getSection(): string + { + return $this->section; + } + + public function setSetting(string $setting): self + { + $this->setting = $setting; + return $this; + } + public function getSetting(): string + { + return $this->setting; + } + + public function setValue(?string $value): self + { + $this->value = $value; + return $this; + } + public function getValue(): ?string + { + return $this->value; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/ConfirmAddress.php b/src/Entity/ConfirmAddress.php index f185c08773..d1569398a7 100644 --- a/src/Entity/ConfirmAddress.php +++ b/src/Entity/ConfirmAddress.php @@ -37,6 +37,95 @@ class ConfirmAddress { // {{{ Autocode + private string $code; + private ?int $user_id; + private string $address; + private ?string $address_extra; + private string $address_type; + private ?DateTime $claimed; + private ?DateTime $sent; + private DateTime $modified; + + public function setCode(string $code): self + { + $this->code = $code; + return $this; + } + public function getCode(): string + { + return $this->code; + } + + public function setUserId(?int $user_id): self + { + $this->user_id = $user_id; + return $this; + } + public function getUserId(): ?int + { + return $this->user_id; + } + + public function setAddress(string $address): self + { + $this->address = $address; + return $this; + } + public function getAddress(): string + { + return $this->address; + } + + public function setAddressExtra(?string $address_extra): self + { + $this->address_extra = $address_extra; + return $this; + } + public function getAddressExtra(): ?string + { + return $this->address_extra; + } + + public function setAddressType(string $address_type): self + { + $this->address_type = $address_type; + return $this; + } + public function getAddressType(): string + { + return $this->address_type; + } + + public function setClaimed(?DateTime $claimed): self + { + $this->claimed = $claimed; + return $this; + } + public function getClaimed(): ?DateTime + { + return $this->claimed; + } + + public function setSent(?DateTime $sent): self + { + $this->sent = $sent; + return $this; + } + public function getSent(): ?DateTime + { + return $this->sent; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/Consumer.php b/src/Entity/Consumer.php index 0a6b8f160f..1ff6368f5f 100644 --- a/src/Entity/Consumer.php +++ b/src/Entity/Consumer.php @@ -37,6 +37,62 @@ class Consumer { // {{{ Autocode + private string $consumer_key; + private string $consumer_secret; + private string $seed; + private DateTime $created; + private DateTime $modified; + + public function setConsumerKey(string $consumer_key): self + { + $this->consumer_key = $consumer_key; + return $this; + } + public function getConsumerKey(): string + { + return $this->consumer_key; + } + + public function setConsumerSecret(string $consumer_secret): self + { + $this->consumer_secret = $consumer_secret; + return $this; + } + public function getConsumerSecret(): string + { + return $this->consumer_secret; + } + + public function setSeed(string $seed): self + { + $this->seed = $seed; + return $this; + } + public function getSeed(): string + { + return $this->seed; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/Conversation.php b/src/Entity/Conversation.php index ca479fbb0d..31ccd32657 100644 --- a/src/Entity/Conversation.php +++ b/src/Entity/Conversation.php @@ -35,6 +35,62 @@ class Conversation { // {{{ Autocode + private int $id; + private string $uri; + private ?string $url; + private DateTime $created; + private DateTime $modified; + + public function setId(int $id): self + { + $this->id = $id; + return $this; + } + public function getId(): int + { + return $this->id; + } + + public function setUri(string $uri): self + { + $this->uri = $uri; + return $this; + } + public function getUri(): string + { + return $this->uri; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + return $this; + } + public function getUrl(): ?string + { + return $this->url; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/File.php b/src/Entity/File.php index 732591e0cb..d48eb42ebb 100644 --- a/src/Entity/File.php +++ b/src/Entity/File.php @@ -37,6 +37,150 @@ class File { // {{{ Autocode + private int $id; + private string $urlhash; + private ?string $url; + private ?string $filehash; + private ?string $mimetype; + private ?int $size; + private ?string $title; + private ?int $date; + private ?int $protected; + private ?string $filename; + private ?int $width; + private ?int $height; + private DateTime $modified; + + public function setId(int $id): self + { + $this->id = $id; + return $this; + } + public function getId(): int + { + return $this->id; + } + + public function setUrlhash(string $urlhash): self + { + $this->urlhash = $urlhash; + return $this; + } + public function getUrlhash(): string + { + return $this->urlhash; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + return $this; + } + public function getUrl(): ?string + { + return $this->url; + } + + public function setFilehash(?string $filehash): self + { + $this->filehash = $filehash; + return $this; + } + public function getFilehash(): ?string + { + return $this->filehash; + } + + public function setMimetype(?string $mimetype): self + { + $this->mimetype = $mimetype; + return $this; + } + public function getMimetype(): ?string + { + return $this->mimetype; + } + + public function setSize(?int $size): self + { + $this->size = $size; + return $this; + } + public function getSize(): ?int + { + return $this->size; + } + + public function setTitle(?string $title): self + { + $this->title = $title; + return $this; + } + public function getTitle(): ?string + { + return $this->title; + } + + public function setDate(?int $date): self + { + $this->date = $date; + return $this; + } + public function getDate(): ?int + { + return $this->date; + } + + public function setProtected(?int $protected): self + { + $this->protected = $protected; + return $this; + } + public function getProtected(): ?int + { + return $this->protected; + } + + public function setFilename(?string $filename): self + { + $this->filename = $filename; + return $this; + } + public function getFilename(): ?string + { + return $this->filename; + } + + public function setWidth(?int $width): self + { + $this->width = $width; + return $this; + } + public function getWidth(): ?int + { + return $this->width; + } + + public function setHeight(?int $height): self + { + $this->height = $height; + return $this; + } + public function getHeight(): ?int + { + return $this->height; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/FileRedirection.php b/src/Entity/FileRedirection.php index d27be3c68c..fe9cf82a57 100644 --- a/src/Entity/FileRedirection.php +++ b/src/Entity/FileRedirection.php @@ -37,6 +37,73 @@ class FileRedirection { // {{{ Autocode + private string $urlhash; + private ?string $url; + private ?int $file_id; + private ?int $redirections; + private ?int $httpcode; + private DateTime $modified; + + public function setUrlhash(string $urlhash): self + { + $this->urlhash = $urlhash; + return $this; + } + public function getUrlhash(): string + { + return $this->urlhash; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + return $this; + } + public function getUrl(): ?string + { + return $this->url; + } + + public function setFileId(?int $file_id): self + { + $this->file_id = $file_id; + return $this; + } + public function getFileId(): ?int + { + return $this->file_id; + } + + public function setRedirections(?int $redirections): self + { + $this->redirections = $redirections; + return $this; + } + public function getRedirections(): ?int + { + return $this->redirections; + } + + public function setHttpcode(?int $httpcode): self + { + $this->httpcode = $httpcode; + return $this; + } + public function getHttpcode(): ?int + { + return $this->httpcode; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/FileThumbnail.php b/src/Entity/FileThumbnail.php index afbbf5767c..0a9c2f6b86 100644 --- a/src/Entity/FileThumbnail.php +++ b/src/Entity/FileThumbnail.php @@ -37,6 +37,84 @@ class FileThumbnail { // {{{ Autocode + private int $file_id; + private ?string $urlhash; + private ?string $url; + private ?string $filename; + private int $width; + private int $height; + private DateTime $modified; + + public function setFileId(int $file_id): self + { + $this->file_id = $file_id; + return $this; + } + public function getFileId(): int + { + return $this->file_id; + } + + public function setUrlhash(?string $urlhash): self + { + $this->urlhash = $urlhash; + return $this; + } + public function getUrlhash(): ?string + { + return $this->urlhash; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + return $this; + } + public function getUrl(): ?string + { + return $this->url; + } + + public function setFilename(?string $filename): self + { + $this->filename = $filename; + return $this; + } + public function getFilename(): ?string + { + return $this->filename; + } + + public function setWidth(int $width): self + { + $this->width = $width; + return $this; + } + public function getWidth(): int + { + return $this->width; + } + + public function setHeight(int $height): self + { + $this->height = $height; + return $this; + } + public function getHeight(): int + { + return $this->height; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/FileToPost.php b/src/Entity/FileToPost.php index 3487f185d7..3d11165e9d 100644 --- a/src/Entity/FileToPost.php +++ b/src/Entity/FileToPost.php @@ -37,6 +37,40 @@ class FileToPost { // {{{ Autocode + private int $file_id; + private int $post_id; + private DateTime $modified; + + public function setFileId(int $file_id): self + { + $this->file_id = $file_id; + return $this; + } + public function getFileId(): int + { + return $this->file_id; + } + + public function setPostId(int $post_id): self + { + $this->post_id = $post_id; + return $this; + } + public function getPostId(): int + { + return $this->post_id; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/ForeignLink.php b/src/Entity/ForeignLink.php index 5086b27d61..bf5ae2b2c6 100644 --- a/src/Entity/ForeignLink.php +++ b/src/Entity/ForeignLink.php @@ -37,6 +37,128 @@ class ForeignLink { // {{{ Autocode + private int $user_id; + private int $foreign_id; + private int $service; + private ?string $credentials; + private int $noticesync; + private int $friendsync; + private int $profilesync; + private ?DateTime $last_noticesync; + private ?DateTime $last_friendsync; + private DateTime $created; + private DateTime $modified; + + public function setUserId(int $user_id): self + { + $this->user_id = $user_id; + return $this; + } + public function getUserId(): int + { + return $this->user_id; + } + + public function setForeignId(int $foreign_id): self + { + $this->foreign_id = $foreign_id; + return $this; + } + public function getForeignId(): int + { + return $this->foreign_id; + } + + public function setService(int $service): self + { + $this->service = $service; + return $this; + } + public function getService(): int + { + return $this->service; + } + + public function setCredentials(?string $credentials): self + { + $this->credentials = $credentials; + return $this; + } + public function getCredentials(): ?string + { + return $this->credentials; + } + + public function setNoticesync(int $noticesync): self + { + $this->noticesync = $noticesync; + return $this; + } + public function getNoticesync(): int + { + return $this->noticesync; + } + + public function setFriendsync(int $friendsync): self + { + $this->friendsync = $friendsync; + return $this; + } + public function getFriendsync(): int + { + return $this->friendsync; + } + + public function setProfilesync(int $profilesync): self + { + $this->profilesync = $profilesync; + return $this; + } + public function getProfilesync(): int + { + return $this->profilesync; + } + + public function setLastNoticesync(?DateTime $last_noticesync): self + { + $this->last_noticesync = $last_noticesync; + return $this; + } + public function getLastNoticesync(): ?DateTime + { + return $this->last_noticesync; + } + + public function setLastFriendsync(?DateTime $last_friendsync): self + { + $this->last_friendsync = $last_friendsync; + return $this; + } + public function getLastFriendsync(): ?DateTime + { + return $this->last_friendsync; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/ForeignService.php b/src/Entity/ForeignService.php index 0af276acef..6283e92590 100644 --- a/src/Entity/ForeignService.php +++ b/src/Entity/ForeignService.php @@ -37,6 +37,62 @@ class ForeignService { // {{{ Autocode + private int $id; + private string $name; + private ?string $description; + private DateTime $created; + private DateTime $modified; + + public function setId(int $id): self + { + $this->id = $id; + return $this; + } + public function getId(): int + { + return $this->id; + } + + public function setName(string $name): self + { + $this->name = $name; + return $this; + } + public function getName(): string + { + return $this->name; + } + + public function setDescription(?string $description): self + { + $this->description = $description; + return $this; + } + public function getDescription(): ?string + { + return $this->description; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/ForeignSubscription.php b/src/Entity/ForeignSubscription.php index fed6f7ce67..fdc96bd938 100644 --- a/src/Entity/ForeignSubscription.php +++ b/src/Entity/ForeignSubscription.php @@ -37,6 +37,51 @@ class ForeignSubscription { // {{{ Autocode + private int $service; + private int $subscriber; + private int $subscribed; + private DateTime $created; + + public function setService(int $service): self + { + $this->service = $service; + return $this; + } + public function getService(): int + { + return $this->service; + } + + 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 diff --git a/src/Entity/ForeignUser.php b/src/Entity/ForeignUser.php index 29df3dffef..b55e87a3a5 100644 --- a/src/Entity/ForeignUser.php +++ b/src/Entity/ForeignUser.php @@ -37,6 +37,73 @@ class ForeignUser { // {{{ Autocode + private int $id; + private int $service; + private string $uri; + private ?string $nickname; + private DateTime $created; + private DateTime $modified; + + public function setId(int $id): self + { + $this->id = $id; + return $this; + } + public function getId(): int + { + return $this->id; + } + + public function setService(int $service): self + { + $this->service = $service; + return $this; + } + public function getService(): int + { + return $this->service; + } + + public function setUri(string $uri): self + { + $this->uri = $uri; + return $this; + } + public function getUri(): string + { + return $this->uri; + } + + public function setNickname(?string $nickname): self + { + $this->nickname = $nickname; + return $this; + } + public function getNickname(): ?string + { + return $this->nickname; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/GroupAlias.php b/src/Entity/GroupAlias.php index d16bdbf23f..92b9980227 100644 --- a/src/Entity/GroupAlias.php +++ b/src/Entity/GroupAlias.php @@ -37,6 +37,40 @@ class GroupAlias { // {{{ Autocode + private string $alias; + private int $group_id; + private DateTime $modified; + + public function setAlias(string $alias): self + { + $this->alias = $alias; + return $this; + } + public function getAlias(): string + { + return $this->alias; + } + + public function setGroupId(int $group_id): self + { + $this->group_id = $group_id; + return $this; + } + public function getGroupId(): int + { + return $this->group_id; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/GroupBlock.php b/src/Entity/GroupBlock.php index c91b9a1066..9a0d67e645 100644 --- a/src/Entity/GroupBlock.php +++ b/src/Entity/GroupBlock.php @@ -37,6 +37,51 @@ class GroupBlock { // {{{ Autocode + private int $group_id; + private int $blocked; + private int $blocker; + private DateTime $modified; + + public function setGroupId(int $group_id): self + { + $this->group_id = $group_id; + return $this; + } + public function getGroupId(): int + { + return $this->group_id; + } + + public function setBlocked(int $blocked): self + { + $this->blocked = $blocked; + return $this; + } + public function getBlocked(): int + { + return $this->blocked; + } + + public function setBlocker(int $blocker): self + { + $this->blocker = $blocker; + return $this; + } + public function getBlocker(): int + { + return $this->blocker; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/GroupInbox.php b/src/Entity/GroupInbox.php index c409df4ec3..8c5f4a9762 100644 --- a/src/Entity/GroupInbox.php +++ b/src/Entity/GroupInbox.php @@ -37,6 +37,40 @@ class GroupInbox { // {{{ Autocode + private int $group_id; + private int $notice_id; + private DateTime $created; + + public function setGroupId(int $group_id): self + { + $this->group_id = $group_id; + return $this; + } + public function getGroupId(): int + { + return $this->group_id; + } + + public function setNoticeId(int $notice_id): self + { + $this->notice_id = $notice_id; + return $this; + } + public function getNoticeId(): int + { + return $this->notice_id; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/GroupJoinQueue.php b/src/Entity/GroupJoinQueue.php index 07be46f0be..34248082ba 100644 --- a/src/Entity/GroupJoinQueue.php +++ b/src/Entity/GroupJoinQueue.php @@ -37,6 +37,40 @@ class GroupJoinQueue { // {{{ Autocode + private int $profile_id; + private int $group_id; + private DateTime $created; + + public function setProfileId(int $profile_id): self + { + $this->profile_id = $profile_id; + return $this; + } + public function getProfileId(): int + { + return $this->profile_id; + } + + public function setGroupId(int $group_id): self + { + $this->group_id = $group_id; + return $this; + } + public function getGroupId(): int + { + return $this->group_id; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/GroupMember.php b/src/Entity/GroupMember.php index 7f28cc7f37..9331b22960 100644 --- a/src/Entity/GroupMember.php +++ b/src/Entity/GroupMember.php @@ -37,6 +37,73 @@ class GroupMember { // {{{ Autocode + private int $group_id; + private int $profile_id; + private ?bool $is_admin; + private ?string $uri; + private DateTime $created; + private DateTime $modified; + + public function setGroupId(int $group_id): self + { + $this->group_id = $group_id; + return $this; + } + public function getGroupId(): int + { + return $this->group_id; + } + + public function setProfileId(int $profile_id): self + { + $this->profile_id = $profile_id; + return $this; + } + public function getProfileId(): int + { + return $this->profile_id; + } + + public function setIsAdmin(?bool $is_admin): self + { + $this->is_admin = $is_admin; + return $this; + } + public function getIsAdmin(): ?bool + { + return $this->is_admin; + } + + public function setUri(?string $uri): self + { + $this->uri = $uri; + return $this; + } + public function getUri(): ?string + { + return $this->uri; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/Invitation.php b/src/Entity/Invitation.php index 5fa67691f1..a5a95a7029 100644 --- a/src/Entity/Invitation.php +++ b/src/Entity/Invitation.php @@ -37,6 +37,73 @@ class Invitation { // {{{ Autocode + private string $code; + private int $user_id; + private string $address; + private string $address_type; + private DateTime $created; + private ?int $registered_user_id; + + public function setCode(string $code): self + { + $this->code = $code; + return $this; + } + public function getCode(): string + { + return $this->code; + } + + public function setUserId(int $user_id): self + { + $this->user_id = $user_id; + return $this; + } + public function getUserId(): int + { + return $this->user_id; + } + + public function setAddress(string $address): self + { + $this->address = $address; + return $this; + } + public function getAddress(): string + { + return $this->address; + } + + public function setAddressType(string $address_type): self + { + $this->address_type = $address_type; + return $this; + } + public function getAddressType(): string + { + return $this->address_type; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setRegisteredUserId(?int $registered_user_id): self + { + $this->registered_user_id = $registered_user_id; + return $this; + } + public function getRegisteredUserId(): ?int + { + return $this->registered_user_id; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/LocalGroup.php b/src/Entity/LocalGroup.php index 4be667c9ee..d824aacd16 100644 --- a/src/Entity/LocalGroup.php +++ b/src/Entity/LocalGroup.php @@ -37,6 +37,51 @@ class LocalGroup { // {{{ Autocode + private int $group_id; + private ?string $nickname; + private DateTime $created; + private DateTime $modified; + + public function setGroupId(int $group_id): self + { + $this->group_id = $group_id; + return $this; + } + public function getGroupId(): int + { + return $this->group_id; + } + + public function setNickname(?string $nickname): self + { + $this->nickname = $nickname; + return $this; + } + public function getNickname(): ?string + { + return $this->nickname; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/LocationNamespace.php b/src/Entity/LocationNamespace.php index 1fc03223cb..35702f50aa 100644 --- a/src/Entity/LocationNamespace.php +++ b/src/Entity/LocationNamespace.php @@ -37,6 +37,51 @@ class LocationNamespace { // {{{ Autocode + private int $id; + private ?string $description; + private DateTime $created; + private DateTime $modified; + + public function setId(int $id): self + { + $this->id = $id; + return $this; + } + public function getId(): int + { + return $this->id; + } + + public function setDescription(?string $description): self + { + $this->description = $description; + return $this; + } + public function getDescription(): ?string + { + return $this->description; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/LoginToken.php b/src/Entity/LoginToken.php index 14da860745..acb86eeb0f 100644 --- a/src/Entity/LoginToken.php +++ b/src/Entity/LoginToken.php @@ -37,6 +37,51 @@ class LoginToken { // {{{ Autocode + private int $user_id; + private string $token; + private DateTime $created; + private DateTime $modified; + + public function setUserId(int $user_id): self + { + $this->user_id = $user_id; + return $this; + } + public function getUserId(): int + { + return $this->user_id; + } + + public function setToken(string $token): self + { + $this->token = $token; + return $this; + } + public function getToken(): string + { + return $this->token; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/Nonce.php b/src/Entity/Nonce.php index d513dcb6c2..b05ed6651d 100644 --- a/src/Entity/Nonce.php +++ b/src/Entity/Nonce.php @@ -37,6 +37,73 @@ class Nonce { // {{{ Autocode + private string $consumer_key; + private ?string $tok; + private string $nonce; + private DateTime $ts; + private DateTime $created; + private DateTime $modified; + + public function setConsumerKey(string $consumer_key): self + { + $this->consumer_key = $consumer_key; + return $this; + } + public function getConsumerKey(): string + { + return $this->consumer_key; + } + + public function setTok(?string $tok): self + { + $this->tok = $tok; + return $this; + } + public function getTok(): ?string + { + return $this->tok; + } + + public function setNonce(string $nonce): self + { + $this->nonce = $nonce; + return $this; + } + public function getNonce(): string + { + return $this->nonce; + } + + public function setTs(DateTime $ts): self + { + $this->ts = $ts; + return $this; + } + public function getTs(): DateTime + { + return $this->ts; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/Notice.php b/src/Entity/Notice.php index dc12527926..d1d2c80a13 100644 --- a/src/Entity/Notice.php +++ b/src/Entity/Notice.php @@ -37,6 +37,183 @@ class Notice { // {{{ Autocode + private int $id; + private int $profile_id; + private ?string $uri; + private ?string $content; + private ?string $rendered; + private ?string $url; + private DateTime $created; + private DateTime $modified; + private ?int $reply_to; + private ?int $is_local; + private ?string $source; + private ?int $conversation; + private ?int $repeat_of; + private ?string $object_type; + private ?string $verb; + private ?int $scope; + + public function setId(int $id): self + { + $this->id = $id; + return $this; + } + public function getId(): int + { + return $this->id; + } + + public function setProfileId(int $profile_id): self + { + $this->profile_id = $profile_id; + return $this; + } + public function getProfileId(): int + { + return $this->profile_id; + } + + public function setUri(?string $uri): self + { + $this->uri = $uri; + return $this; + } + public function getUri(): ?string + { + return $this->uri; + } + + public function setContent(?string $content): self + { + $this->content = $content; + return $this; + } + public function getContent(): ?string + { + return $this->content; + } + + public function setRendered(?string $rendered): self + { + $this->rendered = $rendered; + return $this; + } + public function getRendered(): ?string + { + return $this->rendered; + } + + public function setUrl(?string $url): self + { + $this->url = $url; + return $this; + } + public function getUrl(): ?string + { + return $this->url; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + + public function setReplyTo(?int $reply_to): self + { + $this->reply_to = $reply_to; + return $this; + } + public function getReplyTo(): ?int + { + return $this->reply_to; + } + + public function setIsLocal(?int $is_local): self + { + $this->is_local = $is_local; + return $this; + } + public function getIsLocal(): ?int + { + return $this->is_local; + } + + public function setSource(?string $source): self + { + $this->source = $source; + return $this; + } + public function getSource(): ?string + { + return $this->source; + } + + public function setConversation(?int $conversation): self + { + $this->conversation = $conversation; + return $this; + } + public function getConversation(): ?int + { + return $this->conversation; + } + + public function setRepeatOf(?int $repeat_of): self + { + $this->repeat_of = $repeat_of; + return $this; + } + public function getRepeatOf(): ?int + { + return $this->repeat_of; + } + + public function setObjectType(?string $object_type): self + { + $this->object_type = $object_type; + return $this; + } + public function getObjectType(): ?string + { + return $this->object_type; + } + + public function setVerb(?string $verb): self + { + $this->verb = $verb; + return $this; + } + public function getVerb(): ?string + { + return $this->verb; + } + + public function setScope(?int $scope): self + { + $this->scope = $scope; + return $this; + } + public function getScope(): ?int + { + return $this->scope; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/NoticeLocation.php b/src/Entity/NoticeLocation.php index 02c6244788..91b29ea233 100644 --- a/src/Entity/NoticeLocation.php +++ b/src/Entity/NoticeLocation.php @@ -37,6 +37,73 @@ class NoticeLocation { // {{{ Autocode + private int $notice_id; + private ?float $lat; + private ?float $lon; + private ?int $location_id; + private ?int $location_ns; + private DateTime $modified; + + public function setNoticeId(int $notice_id): self + { + $this->notice_id = $notice_id; + return $this; + } + public function getNoticeId(): int + { + return $this->notice_id; + } + + public function setLat(?float $lat): self + { + $this->lat = $lat; + return $this; + } + public function getLat(): ?float + { + return $this->lat; + } + + public function setLon(?float $lon): self + { + $this->lon = $lon; + return $this; + } + public function getLon(): ?float + { + return $this->lon; + } + + public function setLocationId(?int $location_id): self + { + $this->location_id = $location_id; + return $this; + } + public function getLocationId(): ?int + { + return $this->location_id; + } + + public function setLocationNs(?int $location_ns): self + { + $this->location_ns = $location_ns; + return $this; + } + public function getLocationNs(): ?int + { + return $this->location_ns; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/NoticePrefs.php b/src/Entity/NoticePrefs.php index b5cb0645f0..3f13eadea3 100644 --- a/src/Entity/NoticePrefs.php +++ b/src/Entity/NoticePrefs.php @@ -39,6 +39,73 @@ class NoticePrefs { // {{{ Autocode + private int $notice_id; + private string $namespace; + private string $topic; + private $data; + private DateTime $created; + private DateTime $modified; + + public function setNoticeId(int $notice_id): self + { + $this->notice_id = $notice_id; + return $this; + } + public function getNoticeId(): int + { + return $this->notice_id; + } + + public function setNamespace(string $namespace): self + { + $this->namespace = $namespace; + return $this; + } + public function getNamespace(): string + { + return $this->namespace; + } + + public function setTopic(string $topic): self + { + $this->topic = $topic; + return $this; + } + public function getTopic(): string + { + return $this->topic; + } + + public function setData($data): self + { + $this->data = $data; + return $this; + } + public function getData() + { + return $this->data; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/NoticeSource.php b/src/Entity/NoticeSource.php index a40e5f7c90..10827d1269 100644 --- a/src/Entity/NoticeSource.php +++ b/src/Entity/NoticeSource.php @@ -37,6 +37,73 @@ class NoticeSource { // {{{ Autocode + private string $code; + private string $name; + private string $url; + private int $notice_id; + private DateTime $created; + private DateTime $modified; + + public function setCode(string $code): self + { + $this->code = $code; + return $this; + } + public function getCode(): string + { + return $this->code; + } + + public function setName(string $name): self + { + $this->name = $name; + return $this; + } + public function getName(): string + { + return $this->name; + } + + public function setUrl(string $url): self + { + $this->url = $url; + return $this; + } + public function getUrl(): string + { + return $this->url; + } + + public function setNoticeId(int $notice_id): self + { + $this->notice_id = $notice_id; + return $this; + } + public function getNoticeId(): int + { + return $this->notice_id; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/NoticeTag.php b/src/Entity/NoticeTag.php index d0bb5af4e7..b01c979bf5 100644 --- a/src/Entity/NoticeTag.php +++ b/src/Entity/NoticeTag.php @@ -37,6 +37,40 @@ class NoticeTag { // {{{ Autocode + private string $tag; + private int $notice_id; + private DateTime $created; + + public function setTag(string $tag): self + { + $this->tag = $tag; + return $this; + } + public function getTag(): string + { + return $this->tag; + } + + public function setNoticeId(int $notice_id): self + { + $this->notice_id = $notice_id; + return $this; + } + public function getNoticeId(): int + { + return $this->notice_id; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/OauthApplication.php b/src/Entity/OauthApplication.php index 9493448ba3..a37ef9f06a 100644 --- a/src/Entity/OauthApplication.php +++ b/src/Entity/OauthApplication.php @@ -37,6 +37,161 @@ class OauthApplication { // {{{ Autocode + private int $id; + private int $owner; + private string $consumer_key; + private string $name; + private ?string $description; + private string $icon; + private ?string $source_url; + private ?string $organization; + private ?string $homepage; + private ?string $callback_url; + private ?int $type; + private ?int $access_type; + private DateTime $created; + private DateTime $modified; + + public function setId(int $id): self + { + $this->id = $id; + return $this; + } + public function getId(): int + { + return $this->id; + } + + public function setOwner(int $owner): self + { + $this->owner = $owner; + return $this; + } + public function getOwner(): int + { + return $this->owner; + } + + public function setConsumerKey(string $consumer_key): self + { + $this->consumer_key = $consumer_key; + return $this; + } + public function getConsumerKey(): string + { + return $this->consumer_key; + } + + public function setName(string $name): self + { + $this->name = $name; + return $this; + } + public function getName(): string + { + return $this->name; + } + + public function setDescription(?string $description): self + { + $this->description = $description; + return $this; + } + public function getDescription(): ?string + { + return $this->description; + } + + public function setIcon(string $icon): self + { + $this->icon = $icon; + return $this; + } + public function getIcon(): string + { + return $this->icon; + } + + public function setSourceUrl(?string $source_url): self + { + $this->source_url = $source_url; + return $this; + } + public function getSourceUrl(): ?string + { + return $this->source_url; + } + + public function setOrganization(?string $organization): self + { + $this->organization = $organization; + return $this; + } + public function getOrganization(): ?string + { + return $this->organization; + } + + public function setHomepage(?string $homepage): self + { + $this->homepage = $homepage; + return $this; + } + public function getHomepage(): ?string + { + return $this->homepage; + } + + public function setCallbackUrl(?string $callback_url): self + { + $this->callback_url = $callback_url; + return $this; + } + public function getCallbackUrl(): ?string + { + return $this->callback_url; + } + + public function setType(?int $type): self + { + $this->type = $type; + return $this; + } + public function getType(): ?int + { + return $this->type; + } + + public function setAccessType(?int $access_type): self + { + $this->access_type = $access_type; + return $this; + } + public function getAccessType(): ?int + { + return $this->access_type; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/OauthApplicationUser.php b/src/Entity/OauthApplicationUser.php index db8af03114..7fa516f2be 100644 --- a/src/Entity/OauthApplicationUser.php +++ b/src/Entity/OauthApplicationUser.php @@ -37,6 +37,73 @@ class OauthApplicationUser { // {{{ Autocode + private int $profile_id; + private int $application_id; + private ?int $access_type; + private ?string $token; + private DateTime $created; + private DateTime $modified; + + public function setProfileId(int $profile_id): self + { + $this->profile_id = $profile_id; + return $this; + } + public function getProfileId(): int + { + return $this->profile_id; + } + + public function setApplicationId(int $application_id): self + { + $this->application_id = $application_id; + return $this; + } + public function getApplicationId(): int + { + return $this->application_id; + } + + public function setAccessType(?int $access_type): self + { + $this->access_type = $access_type; + return $this; + } + public function getAccessType(): ?int + { + return $this->access_type; + } + + public function setToken(?string $token): self + { + $this->token = $token; + return $this; + } + public function getToken(): ?string + { + return $this->token; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/OauthTokenAssociation.php b/src/Entity/OauthTokenAssociation.php index a7576a59fd..2ac51c23a3 100644 --- a/src/Entity/OauthTokenAssociation.php +++ b/src/Entity/OauthTokenAssociation.php @@ -37,6 +37,62 @@ class OauthTokenAssociation { // {{{ Autocode + private int $profile_id; + private int $application_id; + private string $token; + private DateTime $created; + private DateTime $modified; + + public function setProfileId(int $profile_id): self + { + $this->profile_id = $profile_id; + return $this; + } + public function getProfileId(): int + { + return $this->profile_id; + } + + public function setApplicationId(int $application_id): self + { + $this->application_id = $application_id; + return $this; + } + public function getApplicationId(): int + { + return $this->application_id; + } + + public function setToken(string $token): self + { + $this->token = $token; + return $this; + } + public function getToken(): string + { + return $this->token; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/OldSchoolPrefs.php b/src/Entity/OldSchoolPrefs.php index ac5a3edb61..b15a657559 100644 --- a/src/Entity/OldSchoolPrefs.php +++ b/src/Entity/OldSchoolPrefs.php @@ -37,6 +37,73 @@ class OldSchoolPrefs { // {{{ Autocode + private int $user_id; + private ?bool $stream_mode_only; + private ?bool $conversation_tree; + private ?bool $stream_nicknames; + private DateTime $created; + private DateTime $modified; + + public function setUserId(int $user_id): self + { + $this->user_id = $user_id; + return $this; + } + public function getUserId(): int + { + return $this->user_id; + } + + public function setStreamModeOnly(?bool $stream_mode_only): self + { + $this->stream_mode_only = $stream_mode_only; + return $this; + } + public function getStreamModeOnly(): ?bool + { + return $this->stream_mode_only; + } + + public function setConversationTree(?bool $conversation_tree): self + { + $this->conversation_tree = $conversation_tree; + return $this; + } + public function getConversationTree(): ?bool + { + return $this->conversation_tree; + } + + public function setStreamNicknames(?bool $stream_nicknames): self + { + $this->stream_nicknames = $stream_nicknames; + return $this; + } + public function getStreamNicknames(): ?bool + { + return $this->stream_nicknames; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/Profile.php b/src/Entity/Profile.php index c88d0055ad..3143ae07f6 100644 --- a/src/Entity/Profile.php +++ b/src/Entity/Profile.php @@ -37,6 +37,150 @@ class Profile { // {{{ Autocode + private int $id; + private string $nickname; + private ?string $fullname; + private ?string $profileurl; + private ?string $homepage; + private ?string $bio; + private ?string $location; + private ?float $lat; + private ?float $lon; + private ?int $location_id; + private ?int $location_ns; + private DateTime $created; + private DateTime $modified; + + public function setId(int $id): self + { + $this->id = $id; + return $this; + } + public function getId(): int + { + return $this->id; + } + + public function setNickname(string $nickname): self + { + $this->nickname = $nickname; + return $this; + } + public function getNickname(): string + { + return $this->nickname; + } + + public function setFullname(?string $fullname): self + { + $this->fullname = $fullname; + return $this; + } + public function getFullname(): ?string + { + return $this->fullname; + } + + public function setProfileurl(?string $profileurl): self + { + $this->profileurl = $profileurl; + return $this; + } + public function getProfileurl(): ?string + { + return $this->profileurl; + } + + public function setHomepage(?string $homepage): self + { + $this->homepage = $homepage; + return $this; + } + public function getHomepage(): ?string + { + return $this->homepage; + } + + public function setBio(?string $bio): self + { + $this->bio = $bio; + return $this; + } + public function getBio(): ?string + { + return $this->bio; + } + + public function setLocation(?string $location): self + { + $this->location = $location; + return $this; + } + public function getLocation(): ?string + { + return $this->location; + } + + public function setLat(?float $lat): self + { + $this->lat = $lat; + return $this; + } + public function getLat(): ?float + { + return $this->lat; + } + + public function setLon(?float $lon): self + { + $this->lon = $lon; + return $this; + } + public function getLon(): ?float + { + return $this->lon; + } + + public function setLocationId(?int $location_id): self + { + $this->location_id = $location_id; + return $this; + } + public function getLocationId(): ?int + { + return $this->location_id; + } + + public function setLocationNs(?int $location_ns): self + { + $this->location_ns = $location_ns; + return $this; + } + public function getLocationNs(): ?int + { + return $this->location_ns; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/ProfileBlock.php b/src/Entity/ProfileBlock.php index f128521864..65a5131cfd 100644 --- a/src/Entity/ProfileBlock.php +++ b/src/Entity/ProfileBlock.php @@ -37,6 +37,40 @@ class ProfileBlock { // {{{ Autocode + private int $blocker; + private int $blocked; + private DateTime $modified; + + public function setBlocker(int $blocker): self + { + $this->blocker = $blocker; + return $this; + } + public function getBlocker(): int + { + return $this->blocker; + } + + public function setBlocked(int $blocked): self + { + $this->blocked = $blocked; + return $this; + } + public function getBlocked(): int + { + return $this->blocked; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/ProfileList.php b/src/Entity/ProfileList.php index 66c96e8113..bd585f4a9f 100644 --- a/src/Entity/ProfileList.php +++ b/src/Entity/ProfileList.php @@ -37,6 +37,128 @@ class ProfileList { // {{{ Autocode + private int $id; + private int $tagger; + private string $tag; + private ?string $description; + private ?bool $private; + private DateTime $created; + private DateTime $modified; + private ?string $uri; + private ?string $mainpage; + private ?int $tagged_count; + private ?int $subscriber_count; + + public function setId(int $id): self + { + $this->id = $id; + return $this; + } + public function getId(): int + { + return $this->id; + } + + public function setTagger(int $tagger): self + { + $this->tagger = $tagger; + return $this; + } + public function getTagger(): int + { + return $this->tagger; + } + + public function setTag(string $tag): self + { + $this->tag = $tag; + return $this; + } + public function getTag(): string + { + return $this->tag; + } + + public function setDescription(?string $description): self + { + $this->description = $description; + return $this; + } + public function getDescription(): ?string + { + return $this->description; + } + + public function setPrivate(?bool $private): self + { + $this->private = $private; + return $this; + } + public function getPrivate(): ?bool + { + return $this->private; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + + public function setUri(?string $uri): self + { + $this->uri = $uri; + return $this; + } + public function getUri(): ?string + { + return $this->uri; + } + + public function setMainpage(?string $mainpage): self + { + $this->mainpage = $mainpage; + return $this; + } + public function getMainpage(): ?string + { + return $this->mainpage; + } + + public function setTaggedCount(?int $tagged_count): self + { + $this->tagged_count = $tagged_count; + return $this; + } + public function getTaggedCount(): ?int + { + return $this->tagged_count; + } + + public function setSubscriberCount(?int $subscriber_count): self + { + $this->subscriber_count = $subscriber_count; + return $this; + } + public function getSubscriberCount(): ?int + { + return $this->subscriber_count; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/ProfilePrefs.php b/src/Entity/ProfilePrefs.php index 7351028906..0062eb5fc5 100644 --- a/src/Entity/ProfilePrefs.php +++ b/src/Entity/ProfilePrefs.php @@ -37,6 +37,73 @@ class ProfilePrefs { // {{{ Autocode + private int $profile_id; + private string $namespace; + private string $topic; + private $data; + private DateTime $created; + private DateTime $modified; + + public function setProfileId(int $profile_id): self + { + $this->profile_id = $profile_id; + return $this; + } + public function getProfileId(): int + { + return $this->profile_id; + } + + public function setNamespace(string $namespace): self + { + $this->namespace = $namespace; + return $this; + } + public function getNamespace(): string + { + return $this->namespace; + } + + public function setTopic(string $topic): self + { + $this->topic = $topic; + return $this; + } + public function getTopic(): string + { + return $this->topic; + } + + public function setData($data): self + { + $this->data = $data; + return $this; + } + public function getData() + { + return $this->data; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/ProfileRole.php b/src/Entity/ProfileRole.php index 1367c3344b..cce1b901f2 100644 --- a/src/Entity/ProfileRole.php +++ b/src/Entity/ProfileRole.php @@ -37,6 +37,40 @@ class ProfileRole { // {{{ Autocode + private int $profile_id; + private string $role; + private DateTime $created; + + public function setProfileId(int $profile_id): self + { + $this->profile_id = $profile_id; + return $this; + } + public function getProfileId(): int + { + return $this->profile_id; + } + + public function setRole(string $role): self + { + $this->role = $role; + return $this; + } + public function getRole(): string + { + return $this->role; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/ProfileTag.php b/src/Entity/ProfileTag.php index f59108440e..685f5d2185 100644 --- a/src/Entity/ProfileTag.php +++ b/src/Entity/ProfileTag.php @@ -37,6 +37,51 @@ class ProfileTag { // {{{ Autocode + private int $tagger; + private int $tagged; + private string $tag; + private DateTime $modified; + + public function setTagger(int $tagger): self + { + $this->tagger = $tagger; + return $this; + } + public function getTagger(): int + { + return $this->tagger; + } + + public function setTagged(int $tagged): self + { + $this->tagged = $tagged; + return $this; + } + public function getTagged(): int + { + return $this->tagged; + } + + public function setTag(string $tag): self + { + $this->tag = $tag; + return $this; + } + public function getTag(): string + { + return $this->tag; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/ProfileTagSubscription.php b/src/Entity/ProfileTagSubscription.php index c3729546ba..cdb72fe4f9 100644 --- a/src/Entity/ProfileTagSubscription.php +++ b/src/Entity/ProfileTagSubscription.php @@ -37,6 +37,51 @@ class ProfileTagSubscription { // {{{ Autocode + private int $profile_tag_id; + private int $profile_id; + private DateTime $created; + private DateTime $modified; + + public function setProfileTagId(int $profile_tag_id): self + { + $this->profile_tag_id = $profile_tag_id; + return $this; + } + public function getProfileTagId(): int + { + return $this->profile_tag_id; + } + + public function setProfileId(int $profile_id): self + { + $this->profile_id = $profile_id; + return $this; + } + public function getProfileId(): int + { + return $this->profile_id; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/QueueItem.php b/src/Entity/QueueItem.php index a720955df5..138f5811c7 100644 --- a/src/Entity/QueueItem.php +++ b/src/Entity/QueueItem.php @@ -37,6 +37,62 @@ class QueueItem { // {{{ Autocode + private int $id; + private $frame; + private string $transport; + private DateTime $created; + private ?DateTime $claimed; + + public function setId(int $id): self + { + $this->id = $id; + return $this; + } + public function getId(): int + { + return $this->id; + } + + public function setFrame($frame): self + { + $this->frame = $frame; + return $this; + } + public function getFrame() + { + return $this->frame; + } + + public function setTransport(string $transport): self + { + $this->transport = $transport; + return $this; + } + public function getTransport(): string + { + return $this->transport; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setClaimed(?DateTime $claimed): self + { + $this->claimed = $claimed; + return $this; + } + public function getClaimed(): ?DateTime + { + return $this->claimed; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/RelatedGroup.php b/src/Entity/RelatedGroup.php index 1bfba6ce20..ac24781a68 100644 --- a/src/Entity/RelatedGroup.php +++ b/src/Entity/RelatedGroup.php @@ -37,6 +37,40 @@ class RelatedGroup { // {{{ Autocode + private int $group_id; + private int $related_group_id; + private DateTime $created; + + public function setGroupId(int $group_id): self + { + $this->group_id = $group_id; + return $this; + } + public function getGroupId(): int + { + return $this->group_id; + } + + public function setRelatedGroupId(int $related_group_id): self + { + $this->related_group_id = $related_group_id; + return $this; + } + public function getRelatedGroupId(): int + { + return $this->related_group_id; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/RememberMe.php b/src/Entity/RememberMe.php index 21c43fe351..579cb3606b 100644 --- a/src/Entity/RememberMe.php +++ b/src/Entity/RememberMe.php @@ -37,6 +37,40 @@ class RememberMe { // {{{ Autocode + private string $code; + private int $user_id; + private DateTime $modified; + + public function setCode(string $code): self + { + $this->code = $code; + return $this; + } + public function getCode(): string + { + return $this->code; + } + + public function setUserId(int $user_id): self + { + $this->user_id = $user_id; + return $this; + } + public function getUserId(): int + { + return $this->user_id; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/Reply.php b/src/Entity/Reply.php index c0d60d31a2..d19bc7f4c3 100644 --- a/src/Entity/Reply.php +++ b/src/Entity/Reply.php @@ -37,6 +37,51 @@ class Reply { // {{{ Autocode + private int $notice_id; + private int $profile_id; + private DateTime $modified; + private ?int $replied_id; + + public function setNoticeId(int $notice_id): self + { + $this->notice_id = $notice_id; + return $this; + } + public function getNoticeId(): int + { + return $this->notice_id; + } + + public function setProfileId(int $profile_id): self + { + $this->profile_id = $profile_id; + return $this; + } + public function getProfileId(): int + { + return $this->profile_id; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + + public function setRepliedId(?int $replied_id): self + { + $this->replied_id = $replied_id; + return $this; + } + public function getRepliedId(): ?int + { + return $this->replied_id; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/SchemaVersion.php b/src/Entity/SchemaVersion.php index 6e5c1562ef..74540ccec4 100644 --- a/src/Entity/SchemaVersion.php +++ b/src/Entity/SchemaVersion.php @@ -37,6 +37,40 @@ class SchemaVersion { // {{{ Autocode + private string $table_name; + private string $checksum; + private DateTime $modified; + + public function setTableName(string $table_name): self + { + $this->table_name = $table_name; + return $this; + } + public function getTableName(): string + { + return $this->table_name; + } + + public function setChecksum(string $checksum): self + { + $this->checksum = $checksum; + return $this; + } + public function getChecksum(): string + { + return $this->checksum; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/Session.php b/src/Entity/Session.php index 94b6b55477..7747ff647a 100644 --- a/src/Entity/Session.php +++ b/src/Entity/Session.php @@ -39,6 +39,51 @@ class Session { // {{{ Autocode + private string $id; + private ?string $session_data; + private DateTime $created; + private DateTime $modified; + + public function setId(string $id): self + { + $this->id = $id; + return $this; + } + public function getId(): string + { + return $this->id; + } + + public function setSessionData(?string $session_data): self + { + $this->session_data = $session_data; + return $this; + } + public function getSessionData(): ?string + { + return $this->session_data; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/SmsCarrier.php b/src/Entity/SmsCarrier.php index 72e767e2ee..4f00172b46 100644 --- a/src/Entity/SmsCarrier.php +++ b/src/Entity/SmsCarrier.php @@ -37,6 +37,62 @@ class SmsCarrier { // {{{ Autocode + private int $id; + private ?string $name; + private string $email_pattern; + private DateTime $created; + private DateTime $modified; + + public function setId(int $id): self + { + $this->id = $id; + return $this; + } + public function getId(): int + { + return $this->id; + } + + public function setName(?string $name): self + { + $this->name = $name; + return $this; + } + public function getName(): ?string + { + return $this->name; + } + + public function setEmailPattern(string $email_pattern): self + { + $this->email_pattern = $email_pattern; + return $this; + } + public function getEmailPattern(): string + { + return $this->email_pattern; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/Subscription.php b/src/Entity/Subscription.php index 9e81bf9ccb..333a906b8c 100644 --- a/src/Entity/Subscription.php +++ b/src/Entity/Subscription.php @@ -38,6 +38,106 @@ class Subscription // {{{ Autocode >>>>>>> e63aa4d971 ([TOOLS] Change autocode tag to allow editor folding) + private int $subscriber; + private int $subscribed; + private ?bool $jabber; + private ?bool $sms; + private ?string $token; + private ?string $secret; + private ?string $uri; + private DateTime $created; + private DateTime $modified; + + 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 setJabber(?bool $jabber): self + { + $this->jabber = $jabber; + return $this; + } + public function getJabber(): ?bool + { + return $this->jabber; + } + + public function setSms(?bool $sms): self + { + $this->sms = $sms; + return $this; + } + public function getSms(): ?bool + { + return $this->sms; + } + + public function setToken(?string $token): self + { + $this->token = $token; + return $this; + } + public function getToken(): ?string + { + return $this->token; + } + + public function setSecret(?string $secret): self + { + $this->secret = $secret; + return $this; + } + public function getSecret(): ?string + { + return $this->secret; + } + + public function setUri(?string $uri): self + { + $this->uri = $uri; + return $this; + } + public function getUri(): ?string + { + return $this->uri; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/SubscriptionQueue.php b/src/Entity/SubscriptionQueue.php index a99a165814..b064262d3c 100644 --- a/src/Entity/SubscriptionQueue.php +++ b/src/Entity/SubscriptionQueue.php @@ -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 diff --git a/src/Entity/Token.php b/src/Entity/Token.php index 4853509d6c..376092fd9f 100644 --- a/src/Entity/Token.php +++ b/src/Entity/Token.php @@ -37,6 +37,106 @@ class Token { // {{{ Autocode + private string $consumer_key; + private string $tok; + private string $secret; + private int $type; + private ?int $state; + private ?string $verifier; + private ?string $verified_callback; + private DateTime $created; + private DateTime $modified; + + public function setConsumerKey(string $consumer_key): self + { + $this->consumer_key = $consumer_key; + return $this; + } + public function getConsumerKey(): string + { + return $this->consumer_key; + } + + public function setTok(string $tok): self + { + $this->tok = $tok; + return $this; + } + public function getTok(): string + { + return $this->tok; + } + + public function setSecret(string $secret): self + { + $this->secret = $secret; + return $this; + } + public function getSecret(): string + { + return $this->secret; + } + + public function setType(int $type): self + { + $this->type = $type; + return $this; + } + public function getType(): int + { + return $this->type; + } + + public function setState(?int $state): self + { + $this->state = $state; + return $this; + } + public function getState(): ?int + { + return $this->state; + } + + public function setVerifier(?string $verifier): self + { + $this->verifier = $verifier; + return $this; + } + public function getVerifier(): ?string + { + return $this->verifier; + } + + public function setVerifiedCallback(?string $verified_callback): self + { + $this->verified_callback = $verified_callback; + return $this; + } + public function getVerifiedCallback(): ?string + { + return $this->verified_callback; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/UnavailableStatusNetwork.php b/src/Entity/UnavailableStatusNetwork.php index ba315a899f..486a4f63d7 100644 --- a/src/Entity/UnavailableStatusNetwork.php +++ b/src/Entity/UnavailableStatusNetwork.php @@ -37,6 +37,29 @@ class UnavailableStatusNetwork { // {{{ Autocode + private string $nickname; + private DateTime $created; + + public function setNickname(string $nickname): self + { + $this->nickname = $nickname; + return $this; + } + public function getNickname(): string + { + return $this->nickname; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/User.php b/src/Entity/User.php index d25b5e2357..0f411891a3 100644 --- a/src/Entity/User.php +++ b/src/Entity/User.php @@ -37,6 +37,282 @@ class User { // {{{ Autocode + private int $id; + private ?string $nickname; + private ?string $password; + private ?string $email; + private ?string $incomingemail; + private ?bool $emailnotifysub; + private ?int $emailnotifyfav; + private ?bool $emailnotifynudge; + private ?bool $emailnotifymsg; + private ?bool $emailnotifyattn; + private ?string $language; + private ?string $timezone; + private ?bool $emailpost; + private ?string $sms; + private ?int $carrier; + private ?bool $smsnotify; + private ?bool $smsreplies; + private ?string $smsemail; + private ?string $uri; + private ?bool $autosubscribe; + private ?int $subscribe_policy; + private ?string $urlshorteningservice; + private ?bool $private_stream; + private DateTime $created; + private DateTime $modified; + + public function setId(int $id): self + { + $this->id = $id; + return $this; + } + public function getId(): int + { + return $this->id; + } + + public function setNickname(?string $nickname): self + { + $this->nickname = $nickname; + return $this; + } + public function getNickname(): ?string + { + return $this->nickname; + } + + public function setPassword(?string $password): self + { + $this->password = $password; + return $this; + } + public function getPassword(): ?string + { + return $this->password; + } + + public function setEmail(?string $email): self + { + $this->email = $email; + return $this; + } + public function getEmail(): ?string + { + return $this->email; + } + + public function setIncomingemail(?string $incomingemail): self + { + $this->incomingemail = $incomingemail; + return $this; + } + public function getIncomingemail(): ?string + { + return $this->incomingemail; + } + + public function setEmailnotifysub(?bool $emailnotifysub): self + { + $this->emailnotifysub = $emailnotifysub; + return $this; + } + public function getEmailnotifysub(): ?bool + { + return $this->emailnotifysub; + } + + public function setEmailnotifyfav(?int $emailnotifyfav): self + { + $this->emailnotifyfav = $emailnotifyfav; + return $this; + } + public function getEmailnotifyfav(): ?int + { + return $this->emailnotifyfav; + } + + public function setEmailnotifynudge(?bool $emailnotifynudge): self + { + $this->emailnotifynudge = $emailnotifynudge; + return $this; + } + public function getEmailnotifynudge(): ?bool + { + return $this->emailnotifynudge; + } + + public function setEmailnotifymsg(?bool $emailnotifymsg): self + { + $this->emailnotifymsg = $emailnotifymsg; + return $this; + } + public function getEmailnotifymsg(): ?bool + { + return $this->emailnotifymsg; + } + + public function setEmailnotifyattn(?bool $emailnotifyattn): self + { + $this->emailnotifyattn = $emailnotifyattn; + return $this; + } + public function getEmailnotifyattn(): ?bool + { + return $this->emailnotifyattn; + } + + public function setLanguage(?string $language): self + { + $this->language = $language; + return $this; + } + public function getLanguage(): ?string + { + return $this->language; + } + + public function setTimezone(?string $timezone): self + { + $this->timezone = $timezone; + return $this; + } + public function getTimezone(): ?string + { + return $this->timezone; + } + + public function setEmailpost(?bool $emailpost): self + { + $this->emailpost = $emailpost; + return $this; + } + public function getEmailpost(): ?bool + { + return $this->emailpost; + } + + public function setSms(?string $sms): self + { + $this->sms = $sms; + return $this; + } + public function getSms(): ?string + { + return $this->sms; + } + + public function setCarrier(?int $carrier): self + { + $this->carrier = $carrier; + return $this; + } + public function getCarrier(): ?int + { + return $this->carrier; + } + + public function setSmsnotify(?bool $smsnotify): self + { + $this->smsnotify = $smsnotify; + return $this; + } + public function getSmsnotify(): ?bool + { + return $this->smsnotify; + } + + public function setSmsreplies(?bool $smsreplies): self + { + $this->smsreplies = $smsreplies; + return $this; + } + public function getSmsreplies(): ?bool + { + return $this->smsreplies; + } + + public function setSmsemail(?string $smsemail): self + { + $this->smsemail = $smsemail; + return $this; + } + public function getSmsemail(): ?string + { + return $this->smsemail; + } + + public function setUri(?string $uri): self + { + $this->uri = $uri; + return $this; + } + public function getUri(): ?string + { + return $this->uri; + } + + public function setAutosubscribe(?bool $autosubscribe): self + { + $this->autosubscribe = $autosubscribe; + return $this; + } + public function getAutosubscribe(): ?bool + { + return $this->autosubscribe; + } + + public function setSubscribePolicy(?int $subscribe_policy): self + { + $this->subscribe_policy = $subscribe_policy; + return $this; + } + public function getSubscribePolicy(): ?int + { + return $this->subscribe_policy; + } + + public function setUrlshorteningservice(?string $urlshorteningservice): self + { + $this->urlshorteningservice = $urlshorteningservice; + return $this; + } + public function getUrlshorteningservice(): ?string + { + return $this->urlshorteningservice; + } + + public function setPrivateStream(?bool $private_stream): self + { + $this->private_stream = $private_stream; + return $this; + } + public function getPrivateStream(): ?bool + { + return $this->private_stream; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/UserGroup.php b/src/Entity/UserGroup.php index 900f343fee..c47512896a 100644 --- a/src/Entity/UserGroup.php +++ b/src/Entity/UserGroup.php @@ -37,6 +37,194 @@ class UserGroup { // {{{ Autocode + private int $id; + private int $profile_id; + private ?string $nickname; + private ?string $fullname; + private ?string $homepage; + private ?string $description; + private ?string $location; + private ?string $original_logo; + private ?string $homepage_logo; + private ?string $stream_logo; + private ?string $mini_logo; + private DateTime $created; + private DateTime $modified; + private ?string $uri; + private ?string $mainpage; + private ?int $join_policy; + private ?int $force_scope; + + public function setId(int $id): self + { + $this->id = $id; + return $this; + } + public function getId(): int + { + return $this->id; + } + + public function setProfileId(int $profile_id): self + { + $this->profile_id = $profile_id; + return $this; + } + public function getProfileId(): int + { + return $this->profile_id; + } + + public function setNickname(?string $nickname): self + { + $this->nickname = $nickname; + return $this; + } + public function getNickname(): ?string + { + return $this->nickname; + } + + public function setFullname(?string $fullname): self + { + $this->fullname = $fullname; + return $this; + } + public function getFullname(): ?string + { + return $this->fullname; + } + + public function setHomepage(?string $homepage): self + { + $this->homepage = $homepage; + return $this; + } + public function getHomepage(): ?string + { + return $this->homepage; + } + + public function setDescription(?string $description): self + { + $this->description = $description; + return $this; + } + public function getDescription(): ?string + { + return $this->description; + } + + public function setLocation(?string $location): self + { + $this->location = $location; + return $this; + } + public function getLocation(): ?string + { + return $this->location; + } + + public function setOriginalLogo(?string $original_logo): self + { + $this->original_logo = $original_logo; + return $this; + } + public function getOriginalLogo(): ?string + { + return $this->original_logo; + } + + public function setHomepageLogo(?string $homepage_logo): self + { + $this->homepage_logo = $homepage_logo; + return $this; + } + public function getHomepageLogo(): ?string + { + return $this->homepage_logo; + } + + public function setStreamLogo(?string $stream_logo): self + { + $this->stream_logo = $stream_logo; + return $this; + } + public function getStreamLogo(): ?string + { + return $this->stream_logo; + } + + public function setMiniLogo(?string $mini_logo): self + { + $this->mini_logo = $mini_logo; + return $this; + } + public function getMiniLogo(): ?string + { + return $this->mini_logo; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + + public function setUri(?string $uri): self + { + $this->uri = $uri; + return $this; + } + public function getUri(): ?string + { + return $this->uri; + } + + public function setMainpage(?string $mainpage): self + { + $this->mainpage = $mainpage; + return $this; + } + public function getMainpage(): ?string + { + return $this->mainpage; + } + + public function setJoinPolicy(?int $join_policy): self + { + $this->join_policy = $join_policy; + return $this; + } + public function getJoinPolicy(): ?int + { + return $this->join_policy; + } + + public function setForceScope(?int $force_scope): self + { + $this->force_scope = $force_scope; + return $this; + } + public function getForceScope(): ?int + { + return $this->force_scope; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/UserImPrefs.php b/src/Entity/UserImPrefs.php index 9daf5613da..8eb4cfe000 100644 --- a/src/Entity/UserImPrefs.php +++ b/src/Entity/UserImPrefs.php @@ -35,6 +35,95 @@ class UserImPrefs { // {{{ Autocode + private int $user_id; + private string $screenname; + private string $transport; + private bool $notify; + private bool $replies; + private bool $updatefrompresence; + private DateTime $created; + private DateTime $modified; + + public function setUserId(int $user_id): self + { + $this->user_id = $user_id; + return $this; + } + public function getUserId(): int + { + return $this->user_id; + } + + public function setScreenname(string $screenname): self + { + $this->screenname = $screenname; + return $this; + } + public function getScreenname(): string + { + return $this->screenname; + } + + public function setTransport(string $transport): self + { + $this->transport = $transport; + return $this; + } + public function getTransport(): string + { + return $this->transport; + } + + public function setNotify(bool $notify): self + { + $this->notify = $notify; + return $this; + } + public function getNotify(): bool + { + return $this->notify; + } + + public function setReplies(bool $replies): self + { + $this->replies = $replies; + return $this; + } + public function getReplies(): bool + { + return $this->replies; + } + + public function setUpdatefrompresence(bool $updatefrompresence): self + { + $this->updatefrompresence = $updatefrompresence; + return $this; + } + public function getUpdatefrompresence(): bool + { + return $this->updatefrompresence; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/UserLocationPrefs.php b/src/Entity/UserLocationPrefs.php index 364ec4079e..ada69fc3bc 100644 --- a/src/Entity/UserLocationPrefs.php +++ b/src/Entity/UserLocationPrefs.php @@ -35,6 +35,51 @@ class UserLocationPrefs { // {{{ Autocode + private int $user_id; + private ?bool $share_location; + private DateTime $created; + private DateTime $modified; + + public function setUserId(int $user_id): self + { + $this->user_id = $user_id; + return $this; + } + public function getUserId(): int + { + return $this->user_id; + } + + public function setShareLocation(?bool $share_location): self + { + $this->share_location = $share_location; + return $this; + } + public function getShareLocation(): ?bool + { + return $this->share_location; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/UserUrlshortenerPrefs.php b/src/Entity/UserUrlshortenerPrefs.php index 108c2d0d43..b513945813 100644 --- a/src/Entity/UserUrlshortenerPrefs.php +++ b/src/Entity/UserUrlshortenerPrefs.php @@ -37,6 +37,73 @@ class UserUrlshortenerPrefs { // {{{ Autocode + private int $user_id; + private ?string $urlshorteningservice; + private int $maxurllength; + private int $maxnoticelength; + private DateTime $created; + private DateTime $modified; + + public function setUserId(int $user_id): self + { + $this->user_id = $user_id; + return $this; + } + public function getUserId(): int + { + return $this->user_id; + } + + public function setUrlshorteningservice(?string $urlshorteningservice): self + { + $this->urlshorteningservice = $urlshorteningservice; + return $this; + } + public function getUrlshorteningservice(): ?string + { + return $this->urlshorteningservice; + } + + public function setMaxurllength(int $maxurllength): self + { + $this->maxurllength = $maxurllength; + return $this; + } + public function getMaxurllength(): int + { + return $this->maxurllength; + } + + public function setMaxnoticelength(int $maxnoticelength): self + { + $this->maxnoticelength = $maxnoticelength; + return $this; + } + public function getMaxnoticelength(): int + { + return $this->maxnoticelength; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array diff --git a/src/Entity/UserUsername.php b/src/Entity/UserUsername.php index 54e961974c..d90827ba1e 100644 --- a/src/Entity/UserUsername.php +++ b/src/Entity/UserUsername.php @@ -37,6 +37,62 @@ class UserUsername { // {{{ Autocode + private string $provider_name; + private string $username; + private int $user_id; + private DateTime $created; + private DateTime $modified; + + public function setProviderName(string $provider_name): self + { + $this->provider_name = $provider_name; + return $this; + } + public function getProviderName(): string + { + return $this->provider_name; + } + + public function setUsername(string $username): self + { + $this->username = $username; + return $this; + } + public function getUsername(): string + { + return $this->username; + } + + public function setUserId(int $user_id): self + { + $this->user_id = $user_id; + return $this; + } + public function getUserId(): int + { + return $this->user_id; + } + + public function setCreated(DateTime $created): self + { + $this->created = $created; + return $this; + } + public function getCreated(): DateTime + { + return $this->created; + } + + public function setModified(DateTime $modified): self + { + $this->modified = $modified; + return $this; + } + public function getModified(): DateTime + { + return $this->modified; + } + // }}} Autocode public static function schemaDef(): array