[AUTOGENERATED] Update autogenerated code

This commit is contained in:
Hugo Sales 2021-04-27 21:24:48 +00:00
parent 17ea4ecce1
commit 495e66f4ae
45 changed files with 75 additions and 74 deletions

View File

@ -45,10 +45,10 @@ class ForeignLink
private int $noticesync = 1;
private int $friendsync = 2;
private int $profilesync = 1;
private ?DateTimeInterface $last_noticesync;
private ?DateTimeInterface $last_friendsync;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private ?\DateTimeInterface $last_noticesync;
private ?\DateTimeInterface $last_friendsync;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setUserId(int $user_id): self
{

View File

@ -41,8 +41,8 @@ class ForeignService
private int $id;
private string $name;
private ?string $description;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setId(int $id): self
{

View File

@ -41,7 +41,7 @@ class ForeignSubscription
private int $service;
private int $subscriber;
private int $subscribed;
private DateTimeInterface $created;
private \DateTimeInterface $created;
public function setService(int $service): self
{

View File

@ -42,8 +42,8 @@ class ForeignUser
private int $service;
private string $uri;
private ?string $nickname;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setId(int $id): self
{

View File

@ -33,6 +33,7 @@
namespace Plugin\Embed\Entity;
use App\Core\Entity;
use DateTimeInterface;
/**
* Table Definition for attachment_embed
@ -55,7 +56,7 @@ class AttachmentEmbed extends Entity
private ?string $author_name;
private ?string $author_url;
private ?string $url;
private DateTimeInterface $modified;
private \DateTimeInterface $modified;
public function setAttachmentId(int $attachment_id): self
{

View File

@ -27,8 +27,8 @@ class Favourite extends Entity
// {{{ Autocode
private int $note_id;
private int $gsactor_id;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setNoteId(int $note_id): self
{

View File

@ -44,8 +44,8 @@ class Poll extends Entity
private int $note_id;
private ?string $question;
private ?string $options;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setId(int $id): self
{

View File

@ -43,8 +43,8 @@ class PollResponse extends Entity
private int $poll_id;
private ?int $gsactor_id;
private ?int $selection;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setId(int $id): self
{

View File

@ -45,7 +45,7 @@ class Activity extends Entity
private int $object_id;
private bool $is_local;
private ?string $source;
private DateTimeInterface $created;
private \DateTimeInterface $created;
public function setId(int $id): self
{

View File

@ -54,7 +54,7 @@ class Attachment extends Entity
private ?bool $is_local;
private ?int $source;
private ?int $scope;
private DateTimeInterface $modified;
private \DateTimeInterface $modified;
public function setId(int $id): self
{

View File

@ -53,7 +53,7 @@ class AttachmentThumbnail extends Entity
private int $attachment_id;
private int $width;
private int $height;
private DateTimeInterface $modified;
private \DateTimeInterface $modified;
public function setAttachmentId(int $attachment_id): self
{

View File

@ -41,7 +41,7 @@ class AttachmentToNote extends Entity
// {{{ Autocode
private int $attachment_id;
private int $note_id;
private DateTimeInterface $modified;
private \DateTimeInterface $modified;
public function setAttachmentId(int $attachment_id): self
{

View File

@ -46,8 +46,8 @@ class Avatar extends Entity
// {{{ Autocode
private int $gsactor_id;
private int $attachment_id;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setGSActorId(int $gsactor_id): self
{

View File

@ -44,9 +44,9 @@ class ConfirmAddress extends Entity
private string $address;
private ?string $address_extra;
private string $address_type;
private ?DateTimeInterface $claimed;
private DateTimeInterface $sent;
private DateTimeInterface $modified;
private ?\DateTimeInterface $claimed;
private \DateTimeInterface $sent;
private \DateTimeInterface $modified;
public function setCode(string $code): self
{

View File

@ -41,8 +41,8 @@ class Conversation extends Entity
// {{{ Autocode
private int $id;
private int $note_id;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setId(int $id): self
{

View File

@ -41,8 +41,8 @@ class Cover extends Entity
// {{{ Autocode
private int $gsactor_id;
private int $file_id;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setGSActorId(int $gsactor_id): self
{

View File

@ -41,8 +41,8 @@ class Follow extends Entity
// {{{ Autocode
private int $follower;
private int $followed;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setFollower(int $follower): self
{

View File

@ -41,7 +41,7 @@ class FollowQueue extends Entity
// {{{ Autocode
private int $follower;
private int $followed;
private DateTimeInterface $created;
private \DateTimeInterface $created;
public function setFollower(int $follower): self
{

View File

@ -57,8 +57,8 @@ class GSActor extends Entity
private ?float $lon;
private ?int $location_id;
private ?int $location_service;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setId(int $id): self
{

View File

@ -41,7 +41,7 @@ class GSActorBlock extends Entity
// {{{ Autocode
private int $blocker;
private int $blocked;
private DateTimeInterface $modified;
private \DateTimeInterface $modified;
public function setBlocker(int $blocker): self
{

View File

@ -43,8 +43,8 @@ class GSActorCircle extends Entity
private string $tag;
private ?string $description;
private ?bool $private;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setTagger(int $tagger): self
{

View File

@ -42,7 +42,7 @@ class GSActorTag extends Entity
private int $tagger;
private int $tagged;
private string $tag;
private DateTimeInterface $modified;
private \DateTimeInterface $modified;
public function setTagger(int $tagger): self
{

View File

@ -41,8 +41,8 @@ class GSActorTagFollow extends Entity
// {{{ Autocode
private int $gsactor_id;
private int $gsactor_tag;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setGSActorId(int $gsactor_id): self
{

View File

@ -55,8 +55,8 @@ class Group extends Entity
private ?string $mainpage;
private ?int $join_policy;
private ?int $force_scope;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setId(int $id): self
{

View File

@ -41,7 +41,7 @@ class GroupAlias extends Entity
// {{{ Autocode
private string $alias;
private int $group_id;
private DateTimeInterface $modified;
private \DateTimeInterface $modified;
public function setAlias(string $alias): self
{

View File

@ -42,7 +42,7 @@ class GroupBlock extends Entity
private int $group_id;
private int $blocked_gsactor;
private int $blocker_user;
private DateTimeInterface $modified;
private \DateTimeInterface $modified;
public function setGroupId(int $group_id): self
{

View File

@ -41,7 +41,7 @@ class GroupInbox extends Entity
// {{{ Autocode
private int $group_id;
private int $activity_id;
private DateTimeInterface $created;
private \DateTimeInterface $created;
public function setGroupId(int $group_id): self
{

View File

@ -43,8 +43,8 @@ class GroupMember extends Entity
private int $gsactor_id;
private ?bool $is_admin;
private ?string $uri;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setGroupId(int $group_id): self
{

View File

@ -44,7 +44,7 @@ class Invitation extends Entity
private string $address;
private string $address_type;
private ?int $registered_user_id;
private DateTimeInterface $created;
private \DateTimeInterface $created;
public function setCode(string $code): self
{

View File

@ -41,8 +41,8 @@ class LocalGroup extends Entity
// {{{ Autocode
private int $group_id;
private ?string $nickname;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setGroupId(int $group_id): self
{

View File

@ -62,8 +62,8 @@ class LocalUser extends Entity implements UserInterface
private ?bool $auto_follow_back;
private ?int $follow_policy;
private ?bool $is_stream_private;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setId(int $id): self
{

View File

@ -41,8 +41,8 @@ class LocationService extends Entity
// {{{ Autocode
private int $id;
private ?string $description;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setId(int $id): self
{

View File

@ -51,8 +51,8 @@ class Note extends Entity
private ?int $conversation;
private ?int $repeat_of;
private int $scope = 1;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setId(int $id): self
{

View File

@ -44,7 +44,7 @@ class NoteLocation extends Entity
private ?float $lon;
private ?int $location_id;
private ?int $location_service;
private DateTimeInterface $modified;
private \DateTimeInterface $modified;
public function setNoteId(int $note_id): self
{

View File

@ -42,7 +42,7 @@ class NoteSource extends Entity
private string $code;
private string $name;
private string $url;
private DateTimeInterface $modified;
private \DateTimeInterface $modified;
public function setCode(string $code): self
{

View File

@ -41,7 +41,7 @@ class NoteTag extends Entity
// {{{ Autocode
private string $tag;
private int $note_id;
private DateTimeInterface $created;
private \DateTimeInterface $created;
public function setTag(string $tag): self
{

View File

@ -42,8 +42,8 @@ class Notification extends Entity
private int $activity_id;
private int $gsactor_id;
private ?string $reason;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setActivityId(int $activity_id): self
{

View File

@ -39,8 +39,8 @@ class ProfileColor extends Entity
// {{{ Autocode
private int $gsactor_id;
private string $color;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setGSActorId(int $gsactor_id): self
{

View File

@ -41,7 +41,7 @@ class RelatedGroup extends Entity
// {{{ Autocode
private int $group_id;
private int $related_group_id;
private DateTimeInterface $created;
private \DateTimeInterface $created;
public function setGroupId(int $group_id): self
{

View File

@ -39,7 +39,7 @@ class RememberMeToken extends Entity
// {{{ Autocode
private string $series;
private string $value;
private DateTimeInterface $lastused;
private \DateTimeInterface $lastused;
private string $class;
private string $username;

View File

@ -40,7 +40,7 @@ class ReservedNickname extends Entity
{
// {{{ Autocode
private string $nickname;
private DateTimeInterface $created;
private \DateTimeInterface $created;
public function setNickname(string $nickname): self
{

View File

@ -42,8 +42,8 @@ class SmsCarrier extends Entity
private int $id;
private ?string $name;
private string $email_pattern;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setId(int $id): self
{

View File

@ -39,8 +39,8 @@ class UserLocationPrefs extends Entity
// {{{ Autocode
private int $user_id;
private ?bool $share_location;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setUserId(int $user_id): self
{

View File

@ -47,8 +47,8 @@ class UserNotificationPrefs extends Entity
private bool $dm = true;
private bool $post_on_status_change = false;
private ?bool $enable_posting;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setUserId(int $user_id): self
{

View File

@ -43,8 +43,8 @@ class UserUrlShortenerPrefs extends Entity
private ?string $url_shortening_service;
private int $max_url_length;
private int $max_notice_length;
private DateTimeInterface $created;
private DateTimeInterface $modified;
private \DateTimeInterface $created;
private \DateTimeInterface $modified;
public function setUserId(int $user_id): self
{