[AUTOGENERATED] Update auto generated code in entities
This commit is contained in:
parent
b27bda6a7c
commit
e2e53d9a2a
|
@ -35,7 +35,6 @@ namespace Plugin\ActivityPub\Entity;
|
||||||
class ActivityPubActor
|
class ActivityPubActor
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private string $uri;
|
private string $uri;
|
||||||
private int $profile_id;
|
private int $profile_id;
|
||||||
private string $inboxuri;
|
private string $inboxuri;
|
||||||
|
|
|
@ -35,20 +35,19 @@ namespace Plugin\ActivityPub\Entity;
|
||||||
class ActivityPubCryptKey
|
class ActivityPubCryptKey
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $gsactor_id;
|
private int $gsactor_id;
|
||||||
private ?string $private_key;
|
private ?string $private_key;
|
||||||
private string $public_key;
|
private string $public_key;
|
||||||
private ?DateTimeInterface $created;
|
private ?DateTimeInterface $created;
|
||||||
private DateTimeInterface $modified;
|
private DateTimeInterface $modified;
|
||||||
|
|
||||||
public function setGsactorId(int $gsactor_id): self
|
public function setGSActorId(int $gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->gsactor_id = $gsactor_id;
|
$this->gsactor_id = $gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGsactorId(): int
|
public function getGSActorId(): int
|
||||||
{
|
{
|
||||||
return $this->gsactor_id;
|
return $this->gsactor_id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,29 +35,28 @@ namespace Plugin\ActivityPub\Entity;
|
||||||
class ActivityPubFollowRequests
|
class ActivityPubFollowRequests
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $local_gsactor_id;
|
private int $local_gsactor_id;
|
||||||
private int $remote_gsactor_id;
|
private int $remote_gsactor_id;
|
||||||
private int $relation_id;
|
private int $relation_id;
|
||||||
|
|
||||||
public function setLocalGsactorId(int $local_gsactor_id): self
|
public function setLocalGSActorId(int $local_gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->local_gsactor_id = $local_gsactor_id;
|
$this->local_gsactor_id = $local_gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLocalGsactorId(): int
|
public function getLocalGSActorId(): int
|
||||||
{
|
{
|
||||||
return $this->local_gsactor_id;
|
return $this->local_gsactor_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setRemoteGsactorId(int $remote_gsactor_id): self
|
public function setRemoteGSActorId(int $remote_gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->remote_gsactor_id = $remote_gsactor_id;
|
$this->remote_gsactor_id = $remote_gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRemoteGsactorId(): int
|
public function getRemoteGSActorId(): int
|
||||||
{
|
{
|
||||||
return $this->remote_gsactor_id;
|
return $this->remote_gsactor_id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,7 +38,6 @@ use DateTimeInterface;
|
||||||
class Activity extends Entity
|
class Activity extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $id;
|
private int $id;
|
||||||
private int $gsactor_id;
|
private int $gsactor_id;
|
||||||
private string $verb;
|
private string $verb;
|
||||||
|
@ -59,13 +58,13 @@ class Activity extends Entity
|
||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setGsactorId(int $gsactor_id): self
|
public function setGSActorId(int $gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->gsactor_id = $gsactor_id;
|
$this->gsactor_id = $gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGsactorId(): int
|
public function getGSActorId(): int
|
||||||
{
|
{
|
||||||
return $this->gsactor_id;
|
return $this->gsactor_id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,19 +44,18 @@ use DateTimeInterface;
|
||||||
class Avatar extends Entity
|
class Avatar extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $gsactor_id;
|
private int $gsactor_id;
|
||||||
private int $file_id;
|
private int $file_id;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
private DateTimeInterface $modified;
|
private DateTimeInterface $modified;
|
||||||
|
|
||||||
public function setGsactorId(int $gsactor_id): self
|
public function setGSActorId(int $gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->gsactor_id = $gsactor_id;
|
$this->gsactor_id = $gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGsactorId(): int
|
public function getGSActorId(): int
|
||||||
{
|
{
|
||||||
return $this->gsactor_id;
|
return $this->gsactor_id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class ConfirmAddress extends Entity
|
class ConfirmAddress extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private string $code;
|
private string $code;
|
||||||
private ?int $user_id;
|
private ?int $user_id;
|
||||||
private string $address;
|
private string $address;
|
||||||
|
|
|
@ -37,7 +37,6 @@ use DateTimeInterface;
|
||||||
class Conversation extends Entity
|
class Conversation extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $id;
|
private int $id;
|
||||||
private int $note_id;
|
private int $note_id;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
|
|
|
@ -25,7 +25,6 @@ use DateTimeInterface;
|
||||||
class Favourite extends Entity
|
class Favourite extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $note_id;
|
private int $note_id;
|
||||||
private int $gsactor_id;
|
private int $gsactor_id;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
|
@ -42,13 +41,13 @@ class Favourite extends Entity
|
||||||
return $this->note_id;
|
return $this->note_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setGsactorId(int $gsactor_id): self
|
public function setGSActorId(int $gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->gsactor_id = $gsactor_id;
|
$this->gsactor_id = $gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGsactorId(): int
|
public function getGSActorId(): int
|
||||||
{
|
{
|
||||||
return $this->gsactor_id;
|
return $this->gsactor_id;
|
||||||
}
|
}
|
||||||
|
@ -74,6 +73,7 @@ class Favourite extends Entity
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
}
|
}
|
||||||
|
|
||||||
// }}} Autocode
|
// }}} Autocode
|
||||||
|
|
||||||
public static function schemaDef()
|
public static function schemaDef()
|
||||||
|
|
|
@ -40,7 +40,6 @@ use DateTimeInterface;
|
||||||
class File extends Entity
|
class File extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $id;
|
private int $id;
|
||||||
private ?string $url;
|
private ?string $url;
|
||||||
private ?string $url_hash;
|
private ?string $url_hash;
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class FileThumbnail extends Entity
|
class FileThumbnail extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $file_id;
|
private int $file_id;
|
||||||
private int $width;
|
private int $width;
|
||||||
private int $height;
|
private int $height;
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class FileToNote extends Entity
|
class FileToNote extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $file_id;
|
private int $file_id;
|
||||||
private int $note_id;
|
private int $note_id;
|
||||||
private DateTimeInterface $modified;
|
private DateTimeInterface $modified;
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class Follow extends Entity
|
class Follow extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
>>>>>>> e63aa4d971 ([TOOLS] Change autocode tag to allow editor folding)
|
|
||||||
|
|
||||||
private int $follower;
|
private int $follower;
|
||||||
private int $followed;
|
private int $followed;
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class FollowQueue extends Entity
|
class FollowQueue extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $follower;
|
private int $follower;
|
||||||
private int $followed;
|
private int $followed;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
|
|
|
@ -45,7 +45,6 @@ use Functional as F;
|
||||||
class GSActor extends Entity
|
class GSActor extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $id;
|
private int $id;
|
||||||
private string $nickname;
|
private string $nickname;
|
||||||
private ?string $fullname;
|
private ?string $fullname;
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class GSActorBlock extends Entity
|
class GSActorBlock extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $blocker;
|
private int $blocker;
|
||||||
private int $blocked;
|
private int $blocked;
|
||||||
private DateTimeInterface $modified;
|
private DateTimeInterface $modified;
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class GSActorCircle extends Entity
|
class GSActorCircle extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $id;
|
private int $id;
|
||||||
private int $tagger;
|
private int $tagger;
|
||||||
private string $tag;
|
private string $tag;
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class GSActorTag extends Entity
|
class GSActorTag extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $tagger;
|
private int $tagger;
|
||||||
private int $tagged;
|
private int $tagged;
|
||||||
private string $tag;
|
private string $tag;
|
||||||
|
|
|
@ -39,30 +39,29 @@ use DateTimeInterface;
|
||||||
class GSActorTagFollow extends Entity
|
class GSActorTagFollow extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $gsactor_tag_id;
|
private int $gsactor_tag_id;
|
||||||
private int $gsactor_id;
|
private int $gsactor_id;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
private DateTimeInterface $modified;
|
private DateTimeInterface $modified;
|
||||||
|
|
||||||
public function setGsactorTagId(int $gsactor_tag_id): self
|
public function setGSActorTagId(int $gsactor_tag_id): self
|
||||||
{
|
{
|
||||||
$this->gsactor_tag_id = $gsactor_tag_id;
|
$this->gsactor_tag_id = $gsactor_tag_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGsactorTagId(): int
|
public function getGSActorTagId(): int
|
||||||
{
|
{
|
||||||
return $this->gsactor_tag_id;
|
return $this->gsactor_tag_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setGsactorId(int $gsactor_id): self
|
public function setGSActorId(int $gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->gsactor_id = $gsactor_id;
|
$this->gsactor_id = $gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGsactorId(): int
|
public function getGSActorId(): int
|
||||||
{
|
{
|
||||||
return $this->gsactor_id;
|
return $this->gsactor_id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class Group extends Entity
|
class Group extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $id;
|
private int $id;
|
||||||
private int $gsactor_id;
|
private int $gsactor_id;
|
||||||
private ?string $nickname;
|
private ?string $nickname;
|
||||||
|
@ -70,13 +69,13 @@ class Group extends Entity
|
||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setGsactorId(int $gsactor_id): self
|
public function setGSActorId(int $gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->gsactor_id = $gsactor_id;
|
$this->gsactor_id = $gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGsactorId(): int
|
public function getGSActorId(): int
|
||||||
{
|
{
|
||||||
return $this->gsactor_id;
|
return $this->gsactor_id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class GroupAlias extends Entity
|
class GroupAlias extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private string $alias;
|
private string $alias;
|
||||||
private int $group_id;
|
private int $group_id;
|
||||||
private DateTimeInterface $modified;
|
private DateTimeInterface $modified;
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class GroupBlock extends Entity
|
class GroupBlock extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $group_id;
|
private int $group_id;
|
||||||
private int $blocked_gsactor;
|
private int $blocked_gsactor;
|
||||||
private int $blocker_user;
|
private int $blocker_user;
|
||||||
|
@ -56,13 +55,13 @@ class GroupBlock extends Entity
|
||||||
return $this->group_id;
|
return $this->group_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setBlockedGsactor(int $blocked_gsactor): self
|
public function setBlockedGSActor(int $blocked_gsactor): self
|
||||||
{
|
{
|
||||||
$this->blocked_gsactor = $blocked_gsactor;
|
$this->blocked_gsactor = $blocked_gsactor;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getBlockedGsactor(): int
|
public function getBlockedGSActor(): int
|
||||||
{
|
{
|
||||||
return $this->blocked_gsactor;
|
return $this->blocked_gsactor;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class GroupInbox extends Entity
|
class GroupInbox extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $group_id;
|
private int $group_id;
|
||||||
private int $activity_id;
|
private int $activity_id;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
|
|
|
@ -39,18 +39,17 @@ use DateTimeInterface;
|
||||||
class GroupJoinQueue extends Entity
|
class GroupJoinQueue extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $gsactor_id;
|
private int $gsactor_id;
|
||||||
private int $group_id;
|
private int $group_id;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
|
|
||||||
public function setGsactorId(int $gsactor_id): self
|
public function setGSActorId(int $gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->gsactor_id = $gsactor_id;
|
$this->gsactor_id = $gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGsactorId(): int
|
public function getGSActorId(): int
|
||||||
{
|
{
|
||||||
return $this->gsactor_id;
|
return $this->gsactor_id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class GroupMember extends Entity
|
class GroupMember extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $group_id;
|
private int $group_id;
|
||||||
private int $gsactor_id;
|
private int $gsactor_id;
|
||||||
private ?bool $is_admin;
|
private ?bool $is_admin;
|
||||||
|
@ -58,13 +57,13 @@ class GroupMember extends Entity
|
||||||
return $this->group_id;
|
return $this->group_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setGsactorId(int $gsactor_id): self
|
public function setGSActorId(int $gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->gsactor_id = $gsactor_id;
|
$this->gsactor_id = $gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGsactorId(): int
|
public function getGSActorId(): int
|
||||||
{
|
{
|
||||||
return $this->gsactor_id;
|
return $this->gsactor_id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class Invitation extends Entity
|
class Invitation extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private string $code;
|
private string $code;
|
||||||
private int $user_id;
|
private int $user_id;
|
||||||
private string $address;
|
private string $address;
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class LocalGroup extends Entity
|
class LocalGroup extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $group_id;
|
private int $group_id;
|
||||||
private ?string $nickname;
|
private ?string $nickname;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
|
|
|
@ -47,7 +47,6 @@ use Symfony\Component\Security\Core\User\UserInterface;
|
||||||
class LocalUser extends Entity implements UserInterface
|
class LocalUser extends Entity implements UserInterface
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $id;
|
private int $id;
|
||||||
private string $nickname;
|
private string $nickname;
|
||||||
private ?string $password;
|
private ?string $password;
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class LocationService extends Entity
|
class LocationService extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $id;
|
private int $id;
|
||||||
private ?string $description;
|
private ?string $description;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
|
|
|
@ -41,7 +41,6 @@ use DateTimeInterface;
|
||||||
class Note extends Entity
|
class Note extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $id;
|
private int $id;
|
||||||
private int $gsactor_id;
|
private int $gsactor_id;
|
||||||
private ?string $content;
|
private ?string $content;
|
||||||
|
@ -66,13 +65,13 @@ class Note extends Entity
|
||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setGsactorId(int $gsactor_id): self
|
public function setGSActorId(int $gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->gsactor_id = $gsactor_id;
|
$this->gsactor_id = $gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGsactorId(): int
|
public function getGSActorId(): int
|
||||||
{
|
{
|
||||||
return $this->gsactor_id;
|
return $this->gsactor_id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class NoteHashtag extends Entity
|
class NoteHashtag extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private string $tag;
|
private string $tag;
|
||||||
private int $note_id;
|
private int $note_id;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class NoteLocation extends Entity
|
class NoteLocation extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $note_id;
|
private int $note_id;
|
||||||
private ?float $lat;
|
private ?float $lat;
|
||||||
private ?float $lon;
|
private ?float $lon;
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class NoteSource extends Entity
|
class NoteSource extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private string $code;
|
private string $code;
|
||||||
private string $name;
|
private string $name;
|
||||||
private string $url;
|
private string $url;
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class Notification extends Entity
|
class Notification extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $activity_id;
|
private int $activity_id;
|
||||||
private int $gsactor_id;
|
private int $gsactor_id;
|
||||||
private ?string $reason;
|
private ?string $reason;
|
||||||
|
@ -57,13 +56,13 @@ class Notification extends Entity
|
||||||
return $this->activity_id;
|
return $this->activity_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setGsactorId(int $gsactor_id): self
|
public function setGSActorId(int $gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->gsactor_id = $gsactor_id;
|
$this->gsactor_id = $gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGsactorId(): int
|
public function getGSActorId(): int
|
||||||
{
|
{
|
||||||
return $this->gsactor_id;
|
return $this->gsactor_id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class RelatedGroup extends Entity
|
class RelatedGroup extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $group_id;
|
private int $group_id;
|
||||||
private int $related_group_id;
|
private int $related_group_id;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
|
|
|
@ -37,7 +37,6 @@ use DateTimeInterface;
|
||||||
class RememberMeToken extends Entity
|
class RememberMeToken extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private string $series;
|
private string $series;
|
||||||
private string $value;
|
private string $value;
|
||||||
private DateTimeInterface $lastUsed;
|
private DateTimeInterface $lastUsed;
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class ReservedNickname extends Entity
|
class ReservedNickname extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private string $nickname;
|
private string $nickname;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class SmsCarrier extends Entity
|
class SmsCarrier extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $id;
|
private int $id;
|
||||||
private ?string $name;
|
private ?string $name;
|
||||||
private string $email_pattern;
|
private string $email_pattern;
|
||||||
|
|
|
@ -37,7 +37,6 @@ use DateTimeInterface;
|
||||||
class UserLocationPrefs extends Entity
|
class UserLocationPrefs extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $user_id;
|
private int $user_id;
|
||||||
private ?bool $share_location;
|
private ?bool $share_location;
|
||||||
private DateTimeInterface $created;
|
private DateTimeInterface $created;
|
||||||
|
|
|
@ -35,7 +35,6 @@ use DateTimeInterface;
|
||||||
class UserNotificationPrefs extends Entity
|
class UserNotificationPrefs extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $user_id;
|
private int $user_id;
|
||||||
private string $transport;
|
private string $transport;
|
||||||
private ?int $target_gsactor_id;
|
private ?int $target_gsactor_id;
|
||||||
|
@ -73,13 +72,13 @@ class UserNotificationPrefs extends Entity
|
||||||
return $this->transport;
|
return $this->transport;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setTargetGsactorId(?int $target_gsactor_id): self
|
public function setTargetGSActorId(?int $target_gsactor_id): self
|
||||||
{
|
{
|
||||||
$this->target_gsactor_id = $target_gsactor_id;
|
$this->target_gsactor_id = $target_gsactor_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTargetGsactorId(): ?int
|
public function getTargetGSActorId(): ?int
|
||||||
{
|
{
|
||||||
return $this->target_gsactor_id;
|
return $this->target_gsactor_id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,6 @@ use DateTimeInterface;
|
||||||
class UserUrlShortenerPrefs extends Entity
|
class UserUrlShortenerPrefs extends Entity
|
||||||
{
|
{
|
||||||
// {{{ Autocode
|
// {{{ Autocode
|
||||||
|
|
||||||
private int $user_id;
|
private int $user_id;
|
||||||
private ?string $url_shortening_service;
|
private ?string $url_shortening_service;
|
||||||
private int $max_url_length;
|
private int $max_url_length;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user