diff --git a/app/Models/Announce.php b/app/Models/Announce.php index 637066d308..6caccc48e7 100644 --- a/app/Models/Announce.php +++ b/app/Models/Announce.php @@ -25,12 +25,18 @@ * @property int $downloaded * @property int $left * @property int $corrupt - * @property mixed $peer_id + * @property string $peer_id * @property int $port * @property int $numwant * @property string $created_at * @property string $event * @property string $key + * @property-read User|null $requests + * @property-read Torrent|null $torrents + * @method static \Illuminate\Database\Eloquent\Builder|Announce newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Announce newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Announce query() + * @mixin \Eloquent */ class Announce extends Model { diff --git a/app/Models/Apikey.php b/app/Models/Apikey.php index 1bb34d227b..1a7c71639b 100644 --- a/app/Models/Apikey.php +++ b/app/Models/Apikey.php @@ -23,6 +23,11 @@ * @property string $content * @property string|null $created_at * @property \Illuminate\Support\Carbon|null $deleted_at + * @property-read User $user + * @method static \Illuminate\Database\Eloquent\Builder|Apikey newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Apikey newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Apikey query() + * @mixin \Eloquent */ class Apikey extends Model { diff --git a/app/Models/Application.php b/app/Models/Application.php index 9507d1ab2c..efe810d6e7 100644 --- a/app/Models/Application.php +++ b/app/Models/Application.php @@ -31,6 +31,15 @@ * @property int|null $accepted_by * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read \Illuminate\Database\Eloquent\Collection $imageProofs + * @property-read User|null $moderated + * @property-read \Illuminate\Database\Eloquent\Collection $urlProofs + * @property-read User|null $user + * @method static \Database\Factories\ApplicationFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Application newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Application newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Application query() + * @mixin \Eloquent */ class Application extends Model { diff --git a/app/Models/ApplicationImageProof.php b/app/Models/ApplicationImageProof.php index 68c5b08331..e3aaa472d3 100644 --- a/app/Models/ApplicationImageProof.php +++ b/app/Models/ApplicationImageProof.php @@ -25,6 +25,12 @@ * @property string $image * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Application|null $application + * @method static \Database\Factories\ApplicationImageProofFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|ApplicationImageProof newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ApplicationImageProof newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ApplicationImageProof query() + * @mixin \Eloquent */ class ApplicationImageProof extends Model { diff --git a/app/Models/ApplicationUrlProof.php b/app/Models/ApplicationUrlProof.php index cfbe229799..4ba1072bd8 100644 --- a/app/Models/ApplicationUrlProof.php +++ b/app/Models/ApplicationUrlProof.php @@ -25,6 +25,12 @@ * @property string $url * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Application|null $application + * @method static \Database\Factories\ApplicationUrlProofFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|ApplicationUrlProof newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ApplicationUrlProof newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ApplicationUrlProof query() + * @mixin \Eloquent */ class ApplicationUrlProof extends Model { diff --git a/app/Models/Article.php b/app/Models/Article.php index 5ffc05f558..6b0ffc8fff 100644 --- a/app/Models/Article.php +++ b/app/Models/Article.php @@ -30,6 +30,13 @@ * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at * @property int $user_id + * @property-read \Illuminate\Database\Eloquent\Collection $comments + * @property-read User $user + * @method static \Database\Factories\ArticleFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Article newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Article newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Article query() + * @mixin \Eloquent */ class Article extends Model { diff --git a/app/Models/Audit.php b/app/Models/Audit.php index f319787711..3423b5be7d 100644 --- a/app/Models/Audit.php +++ b/app/Models/Audit.php @@ -24,9 +24,15 @@ * @property string $model_name * @property int $model_entry_id * @property string $action - * @property mixed $record + * @property string $record * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read User|null $user + * @method static \Database\Factories\AuditFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Audit newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Audit newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Audit query() + * @mixin \Eloquent */ class Audit extends Model { diff --git a/app/Models/AutomaticTorrentFreeleech.php b/app/Models/AutomaticTorrentFreeleech.php index b1a8f176da..f10a6ef72f 100644 --- a/app/Models/AutomaticTorrentFreeleech.php +++ b/app/Models/AutomaticTorrentFreeleech.php @@ -16,6 +16,25 @@ use App\Traits\Auditable; use Illuminate\Database\Eloquent\Model; +/** + * @property int $id + * @property int $position + * @property string|null $name_regex + * @property int|null $size + * @property int|null $category_id + * @property int|null $type_id + * @property int|null $resolution_id + * @property int $freeleech_percentage + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Category|null $category + * @property-read Resolution|null $resolution + * @property-read Type|null $type + * @method static \Illuminate\Database\Eloquent\Builder|AutomaticTorrentFreeleech newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|AutomaticTorrentFreeleech newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|AutomaticTorrentFreeleech query() + * @mixin \Eloquent + */ class AutomaticTorrentFreeleech extends Model { use Auditable; diff --git a/app/Models/Ban.php b/app/Models/Ban.php index e8741c320c..640f66baed 100644 --- a/app/Models/Ban.php +++ b/app/Models/Ban.php @@ -27,6 +27,13 @@ * @property string|null $removed_at * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read User $banneduser + * @property-read User|null $staffuser + * @method static \Database\Factories\BanFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Ban newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Ban newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Ban query() + * @mixin \Eloquent */ class Ban extends Model { diff --git a/app/Models/BlacklistClient.php b/app/Models/BlacklistClient.php index 7659c57616..edd27a28dd 100644 --- a/app/Models/BlacklistClient.php +++ b/app/Models/BlacklistClient.php @@ -19,12 +19,17 @@ /** * App\Models\BlacklistClient. * - * @property int $id - * @property string $name - * @property string|null $reason - * @property \Illuminate\Support\Carbon|null $created_at - * @property \Illuminate\Support\Carbon|null $updated_at - * @property string $peer_id_prefix + * @property int $id + * @property string $name + * @property string|null $reason + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @property string $peer_id_prefix + * @method static \Database\Factories\BlacklistClientFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|BlacklistClient newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|BlacklistClient newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|BlacklistClient query() + * @mixin \Eloquent */ class BlacklistClient extends Model { diff --git a/app/Models/BlockedIp.php b/app/Models/BlockedIp.php index 906387af15..30725b0e3a 100644 --- a/app/Models/BlockedIp.php +++ b/app/Models/BlockedIp.php @@ -26,6 +26,12 @@ * @property string|null $expires_at * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read User $user + * @method static \Database\Factories\BlockedIpFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|BlockedIp newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|BlockedIp newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|BlockedIp query() + * @mixin \Eloquent */ class BlockedIp extends Model { diff --git a/app/Models/BonExchange.php b/app/Models/BonExchange.php index c86432af7b..dbf13df1ad 100644 --- a/app/Models/BonExchange.php +++ b/app/Models/BonExchange.php @@ -19,14 +19,19 @@ /** * App\Models\BonExchange. * - * @property int $id - * @property string|null $description - * @property int $value - * @property int $cost - * @property bool $upload - * @property bool $download - * @property bool $personal_freeleech - * @property bool $invite + * @property int $id + * @property string|null $description + * @property int $value + * @property int $cost + * @property bool $upload + * @property bool $download + * @property bool $personal_freeleech + * @property bool $invite + * @method static \Database\Factories\BonExchangeFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|BonExchange newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|BonExchange newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|BonExchange query() + * @mixin \Eloquent */ class BonExchange extends Model { diff --git a/app/Models/BonTransactions.php b/app/Models/BonTransactions.php index 727d7209c7..1504941a84 100644 --- a/app/Models/BonTransactions.php +++ b/app/Models/BonTransactions.php @@ -22,13 +22,18 @@ * @property int $id * @property int $bon_exchange_id * @property string $name - * @property float $cost + * @property string $cost * @property int|null $sender_id * @property int|null $receiver_id - * @property int|null $torrent_id - * @property int|null $post_id - * @property string $comment * @property string $created_at + * @property-read BonExchange|null $exchange + * @property-read User|null $receiver + * @property-read User|null $sender + * @method static \Database\Factories\BonTransactionsFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|BonTransactions newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|BonTransactions newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|BonTransactions query() + * @mixin \Eloquent */ class BonTransactions extends Model { diff --git a/app/Models/Bookmark.php b/app/Models/Bookmark.php index cb82606111..77bf34e3d0 100644 --- a/app/Models/Bookmark.php +++ b/app/Models/Bookmark.php @@ -25,6 +25,13 @@ * @property int $torrent_id * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Torrent $torrent + * @property-read User $user + * @method static \Database\Factories\BookmarkFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Bookmark newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Bookmark newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Bookmark query() + * @mixin \Eloquent */ class Bookmark extends Model { diff --git a/app/Models/Bot.php b/app/Models/Bot.php index cc34368f9f..3c5ffc6729 100644 --- a/app/Models/Bot.php +++ b/app/Models/Bot.php @@ -20,27 +20,32 @@ /** * App\Models\Bot. * - * @property int $id - * @property int $position - * @property string $name - * @property string $command - * @property string|null $color - * @property string|null $icon - * @property string|null $emoji - * @property string|null $info - * @property string|null $about - * @property string|null $help - * @property int $active - * @property int $is_protected - * @property int $is_nerdbot - * @property int $is_systembot - * @property int $uploaded - * @property int $downloaded - * @property int $fl_tokens - * @property float $seedbonus - * @property int $invites - * @property \Illuminate\Support\Carbon|null $created_at - * @property \Illuminate\Support\Carbon|null $updated_at + * @property int $id + * @property int $position + * @property string $name + * @property string $command + * @property string|null $color + * @property string|null $icon + * @property string|null $emoji + * @property string|null $info + * @property string|null $about + * @property string|null $help + * @property int $active + * @property int $is_protected + * @property int $is_nerdbot + * @property int $is_systembot + * @property int $uploaded + * @property int $downloaded + * @property int $fl_tokens + * @property string $seedbonus + * @property int $invites + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @method static \Database\Factories\BotFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Bot newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Bot newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Bot query() + * @mixin \Eloquent */ class Bot extends Model { diff --git a/app/Models/Category.php b/app/Models/Category.php index d37502464b..df8ffcd1d6 100644 --- a/app/Models/Category.php +++ b/app/Models/Category.php @@ -31,6 +31,13 @@ * @property bool $tv_meta * @property bool $movie_meta * @property int $num_torrent + * @property-read \Illuminate\Database\Eloquent\Collection $requests + * @property-read \Illuminate\Database\Eloquent\Collection $torrents + * @method static \Database\Factories\CategoryFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Category newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Category newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Category query() + * @mixin \Eloquent */ class Category extends Model { diff --git a/app/Models/ChatStatus.php b/app/Models/ChatStatus.php index 9592d8028a..6407f97757 100644 --- a/app/Models/ChatStatus.php +++ b/app/Models/ChatStatus.php @@ -26,6 +26,12 @@ * @property string|null $icon * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read \Illuminate\Database\Eloquent\Collection $users + * @method static \Database\Factories\ChatStatusFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|ChatStatus newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ChatStatus newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ChatStatus query() + * @mixin \Eloquent */ class ChatStatus extends Model { diff --git a/app/Models/Chatroom.php b/app/Models/Chatroom.php index 0f33e99e84..6e3019b991 100644 --- a/app/Models/Chatroom.php +++ b/app/Models/Chatroom.php @@ -25,6 +25,14 @@ * @property string $name * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read \Illuminate\Database\Eloquent\Collection $messages + * @property-read \Illuminate\Notifications\DatabaseNotificationCollection $notifications + * @property-read \Illuminate\Database\Eloquent\Collection $users + * @method static \Database\Factories\ChatroomFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Chatroom newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Chatroom newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Chatroom query() + * @mixin \Eloquent */ class Chatroom extends Model { diff --git a/app/Models/Collection.php b/app/Models/Collection.php index 253ac33ca8..7590b4972a 100644 --- a/app/Models/Collection.php +++ b/app/Models/Collection.php @@ -28,6 +28,13 @@ * @property string|null $backdrop * @property string|null $created_at * @property string|null $updated_at + * @property-read \Illuminate\Database\Eloquent\Collection $comments + * @property-read \Illuminate\Database\Eloquent\Collection $movie + * @method static \Database\Factories\CollectionFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Collection newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Collection newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Collection query() + * @mixin \Eloquent */ class Collection extends Model { diff --git a/app/Models/Comment.php b/app/Models/Comment.php index 86bbdb6a1e..cd06be8881 100644 --- a/app/Models/Comment.php +++ b/app/Models/Comment.php @@ -20,6 +20,7 @@ use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; +use Eloquent; /** * App\Models\Comment. @@ -33,6 +34,15 @@ * @property \Illuminate\Support\Carbon|null $updated_at * @property string $commentable_type * @property int $commentable_id + * @property-read \Illuminate\Database\Eloquent\Collection $children + * @property-read Model|Eloquent $commentable + * @property-read User|null $user + * @method static \Database\Factories\CommentFactory factory($count = null, $state = []) + * @method static Builder|Comment newModelQuery() + * @method static Builder|Comment newQuery() + * @method static Builder|Comment parent() + * @method static Builder|Comment query() + * @mixin \Eloquent */ class Comment extends Model { diff --git a/app/Models/Company.php b/app/Models/Company.php index f47f49a6f6..a497f65895 100644 --- a/app/Models/Company.php +++ b/app/Models/Company.php @@ -26,6 +26,13 @@ * @property string|null $homepage * @property string|null $logo * @property string|null $origin_country + * @property-read \Illuminate\Database\Eloquent\Collection $movie + * @property-read \Illuminate\Database\Eloquent\Collection $tv + * @method static \Database\Factories\CompanyFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Company newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Company newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Company query() + * @mixin \Eloquent */ class Company extends Model { diff --git a/app/Models/Credit.php b/app/Models/Credit.php index 917229e85b..4179265a4d 100644 --- a/app/Models/Credit.php +++ b/app/Models/Credit.php @@ -26,6 +26,15 @@ * @property int $occupation_id * @property int|null $order * @property string|null $character + * @property-read Movie|null $movie + * @property-read Occupation $occupation + * @property-read Person $person + * @property-read Tv|null $tv + * @method static \Database\Factories\CreditFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Credit newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Credit newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Credit query() + * @mixin \Eloquent */ class Credit extends Model { diff --git a/app/Models/Distributor.php b/app/Models/Distributor.php index ac8b096477..39c1191ab6 100644 --- a/app/Models/Distributor.php +++ b/app/Models/Distributor.php @@ -22,6 +22,13 @@ * * @property int $id * @property string $name + * @property-read \Illuminate\Database\Eloquent\Collection $requests + * @property-read \Illuminate\Database\Eloquent\Collection $torrents + * @method static \Database\Factories\DistributorFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Distributor newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Distributor newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Distributor query() + * @mixin \Eloquent */ class Distributor extends Model { diff --git a/app/Models/EmailUpdate.php b/app/Models/EmailUpdate.php index 0b805a0995..b42142aba8 100644 --- a/app/Models/EmailUpdate.php +++ b/app/Models/EmailUpdate.php @@ -22,6 +22,11 @@ * @property int $user_id * @property \Illuminate\Support\Carbon $created_at * @property \Illuminate\Support\Carbon|null $deleted_at + * @property-read User $user + * @method static \Illuminate\Database\Eloquent\Builder|EmailUpdate newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|EmailUpdate newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|EmailUpdate query() + * @mixin \Eloquent */ class EmailUpdate extends Model { diff --git a/app/Models/Episode.php b/app/Models/Episode.php index 3d789f1c1a..49b58c2b2c 100644 --- a/app/Models/Episode.php +++ b/app/Models/Episode.php @@ -34,6 +34,12 @@ * @property int|null $episode_number * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Season $season + * @method static \Database\Factories\EpisodeFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Episode newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Episode newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Episode query() + * @mixin \Eloquent */ class Episode extends Model { diff --git a/app/Models/FailedLoginAttempt.php b/app/Models/FailedLoginAttempt.php index 9c2b423126..9dbfb23480 100644 --- a/app/Models/FailedLoginAttempt.php +++ b/app/Models/FailedLoginAttempt.php @@ -25,6 +25,12 @@ * @property string $ip_address * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read User|null $user + * @method static \Database\Factories\FailedLoginAttemptFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|FailedLoginAttempt newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|FailedLoginAttempt newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|FailedLoginAttempt query() + * @mixin \Eloquent */ class FailedLoginAttempt extends Model { diff --git a/app/Models/FeaturedTorrent.php b/app/Models/FeaturedTorrent.php index f3bf714db7..e49299256a 100644 --- a/app/Models/FeaturedTorrent.php +++ b/app/Models/FeaturedTorrent.php @@ -25,6 +25,13 @@ * @property int $torrent_id * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Torrent $torrent + * @property-read User $user + * @method static \Database\Factories\FeaturedTorrentFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|FeaturedTorrent newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|FeaturedTorrent newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|FeaturedTorrent query() + * @mixin \Eloquent */ class FeaturedTorrent extends Model { diff --git a/app/Models/Forum.php b/app/Models/Forum.php index 70b12e8331..438e85d3f6 100644 --- a/app/Models/Forum.php +++ b/app/Models/Forum.php @@ -27,13 +27,29 @@ * @property int|null $last_topic_id * @property int|null $last_post_id * @property int|null $last_post_user_id - * @property \Illuminate\Support\Carbon|null $last_post_created_at + * @property string|null $last_post_created_at * @property string|null $name * @property string|null $slug * @property string|null $description * @property int $forum_category_id * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property string|null $default_topic_state_filter + * @property-read ForumCategory $category + * @property-read Topic|null $lastRepliedTopic + * @property-read Topic|null $lastRepliedTopicSlow + * @property-read User|null $latestPoster + * @property-read \Illuminate\Database\Eloquent\Collection $permissions + * @property-read \Illuminate\Database\Eloquent\Collection $posts + * @property-read \Illuminate\Database\Eloquent\Collection $subscribedUsers + * @property-read \Illuminate\Database\Eloquent\Collection $subscriptions + * @property-read \Illuminate\Database\Eloquent\Collection $topics + * @method static \Illuminate\Database\Eloquent\Builder|Forum authorized(?bool $canReadTopic = null, ?bool $canReplyTopic = null, ?bool $canStartTopic = null) + * @method static \Database\Factories\ForumFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Forum newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Forum newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Forum query() + * @mixin \Eloquent */ class Forum extends Model { diff --git a/app/Models/ForumCategory.php b/app/Models/ForumCategory.php index 45fefe27cb..53c3a15c5e 100644 --- a/app/Models/ForumCategory.php +++ b/app/Models/ForumCategory.php @@ -21,12 +21,19 @@ * App\Models\Forum. * * @property int $id - * @property int|null $position - * @property string $name + * @property int $position * @property string $slug + * @property string $name * @property string $description * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read \Illuminate\Database\Eloquent\Collection $forums + * @property-read \Illuminate\Database\Eloquent\Collection $topics + * @method static \Database\Factories\ForumCategoryFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|ForumCategory newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ForumCategory newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ForumCategory query() + * @mixin \Eloquent */ class ForumCategory extends Model { diff --git a/app/Models/ForumPermission.php b/app/Models/ForumPermission.php index 6b92e15265..c6fc22b47a 100644 --- a/app/Models/ForumPermission.php +++ b/app/Models/ForumPermission.php @@ -26,6 +26,13 @@ * @property bool $read_topic * @property bool $reply_topic * @property bool $start_topic + * @property-read Forum $forum + * @property-read Group|null $group + * @method static \Database\Factories\ForumPermissionFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|ForumPermission newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ForumPermission newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|ForumPermission query() + * @mixin \Eloquent */ class ForumPermission extends Model { diff --git a/app/Models/FreeleechToken.php b/app/Models/FreeleechToken.php index 77d2b7e441..cb9fe907b3 100644 --- a/app/Models/FreeleechToken.php +++ b/app/Models/FreeleechToken.php @@ -25,6 +25,13 @@ * @property int $torrent_id * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Torrent $torrent + * @property-read User $user + * @method static \Database\Factories\FreeleechTokenFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|FreeleechToken newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|FreeleechToken newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|FreeleechToken query() + * @mixin \Eloquent */ class FreeleechToken extends Model { diff --git a/app/Models/Genre.php b/app/Models/Genre.php index df420ccd9f..90082543a1 100644 --- a/app/Models/Genre.php +++ b/app/Models/Genre.php @@ -21,6 +21,13 @@ * * @property int $id * @property string $name + * @property-read \Illuminate\Database\Eloquent\Collection $movie + * @property-read \Illuminate\Database\Eloquent\Collection $tv + * @method static \Database\Factories\GenreFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Genre newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Genre newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Genre query() + * @mixin \Eloquent */ class Genre extends Model { diff --git a/app/Models/Gift.php b/app/Models/Gift.php index 66d1b656f3..5f12305de1 100644 --- a/app/Models/Gift.php +++ b/app/Models/Gift.php @@ -19,11 +19,17 @@ * App\Models\Gift. * * @property int $id - * @property ?int $sender_id - * @property ?int $recipient_id + * @property int|null $sender_id + * @property int|null $recipient_id * @property string $bon * @property string $message * @property \Illuminate\Support\Carbon $created_at + * @property-read User|null $recipient + * @property-read User|null $sender + * @method static \Illuminate\Database\Eloquent\Builder|Gift newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Gift newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Gift query() + * @mixin \Eloquent */ class Gift extends Model { diff --git a/app/Models/GitUpdate.php b/app/Models/GitUpdate.php index 87098be788..086ce68a37 100644 --- a/app/Models/GitUpdate.php +++ b/app/Models/GitUpdate.php @@ -19,11 +19,16 @@ /** * App\Models\GitUpdate. * - * @property int $id - * @property string $name - * @property string $hash - * @property \Illuminate\Support\Carbon|null $created_at - * @property \Illuminate\Support\Carbon|null $updated_at + * @property int $id + * @property string $name + * @property string $hash + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @method static \Database\Factories\GitUpdateFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|GitUpdate newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|GitUpdate newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|GitUpdate query() + * @mixin \Eloquent */ class GitUpdate extends Model { diff --git a/app/Models/Group.php b/app/Models/Group.php index 7664470336..ae1b54bbf4 100644 --- a/app/Models/Group.php +++ b/app/Models/Group.php @@ -20,36 +20,43 @@ /** * App\Models\Group. * - * @property int $id - * @property string $name - * @property string $slug - * @property int $position - * @property int $level - * @property int|null $download_slots - * @property string $description - * @property string $color - * @property string $icon - * @property string $effect - * @property int $is_internal - * @property int $is_editor - * @property int $is_owner - * @property int $is_admin - * @property int $is_modo - * @property int $is_trusted - * @property int $is_immune - * @property int $is_freeleech - * @property int $is_double_upload - * @property int $is_refundable - * @property int $can_upload - * @property int $is_incognito - * @property int $autogroup - * @property bool $system_required - * @property int $min_uploaded - * @property int $min_seedsize - * @property int $min_avg_seedtime - * @property float $min_ratio - * @property int $min_age - * @property int $min_uploads + * @property int $id + * @property string $name + * @property string $slug + * @property int $position + * @property int $level + * @property int|null $download_slots + * @property string|null $description + * @property string $color + * @property string $icon + * @property string $effect + * @property int $is_internal + * @property int $is_editor + * @property int $is_owner + * @property int $is_admin + * @property int $is_modo + * @property int $is_trusted + * @property int $is_immune + * @property int $is_freeleech + * @property int $is_double_upload + * @property int $is_refundable + * @property int $can_upload + * @property int $is_incognito + * @property int $autogroup + * @property int|null $min_uploaded + * @property int|null $min_seedsize + * @property int|null $min_avg_seedtime + * @property string|null $min_ratio + * @property int|null $min_age + * @property bool $system_required + * @property int|null $min_uploads + * @property-read \Illuminate\Database\Eloquent\Collection $permissions + * @property-read \Illuminate\Database\Eloquent\Collection $users + * @method static \Database\Factories\GroupFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Group newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Group newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Group query() + * @mixin \Eloquent */ class Group extends Model { diff --git a/app/Models/GuestStar.php b/app/Models/GuestStar.php index 82fa444aeb..4bc0f7c117 100644 --- a/app/Models/GuestStar.php +++ b/app/Models/GuestStar.php @@ -34,6 +34,12 @@ * @property string|null $deathday * @property string|null $gender * @property string|null $homepage + * @property-read \Illuminate\Database\Eloquent\Collection $episode + * @method static \Database\Factories\GuestStarFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|GuestStar newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|GuestStar newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|GuestStar query() + * @mixin \Eloquent */ class GuestStar extends Model { diff --git a/app/Models/History.php b/app/Models/History.php index 24a3cc43bc..71283e12e9 100644 --- a/app/Models/History.php +++ b/app/Models/History.php @@ -20,23 +20,33 @@ /** * App\Models\History. * - * @property int $id - * @property int $user_id - * @property int $torrent_id - * @property string $agent - * @property int $uploaded - * @property int $actual_uploaded - * @property int $client_uploaded - * @property int $downloaded - * @property int $refunded_download - * @property int $actual_downloaded - * @property int $client_downloaded - * @property int $seeder - * @property int $active - * @property int $seedtime - * @property int $immune - * @property bool $hitrun - * @property bool $prewarn + * @property int $id + * @property int $user_id + * @property int $torrent_id + * @property string $agent + * @property int $uploaded + * @property int $actual_uploaded + * @property int $client_uploaded + * @property int $downloaded + * @property int $refunded_download + * @property int $actual_downloaded + * @property int $client_downloaded + * @property int $seeder + * @property int $active + * @property int $seedtime + * @property int $immune + * @property bool $hitrun + * @property bool $prewarn + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @property \Illuminate\Support\Carbon|null $completed_at + * @property-read Torrent $torrent + * @property-read User $user + * @method static \Database\Factories\HistoryFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|History newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|History newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|History query() + * @mixin \Eloquent */ class History extends Model { diff --git a/app/Models/Internal.php b/app/Models/Internal.php index 416fd3abd1..24a6592ad1 100644 --- a/app/Models/Internal.php +++ b/app/Models/Internal.php @@ -24,6 +24,12 @@ * @property string $name * @property string $icon * @property string $effect + * @property-read \Illuminate\Database\Eloquent\Collection $users + * @method static \Database\Factories\InternalFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Internal newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Internal newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Internal query() + * @mixin \Eloquent */ class Internal extends Model { diff --git a/app/Models/InternalUser.php b/app/Models/InternalUser.php index 211aa9d9e3..c107050395 100644 --- a/app/Models/InternalUser.php +++ b/app/Models/InternalUser.php @@ -19,9 +19,18 @@ /** * App\Models\InternalUser. * - * @property int $id - * @property int $user_id - * @property int $internal_id + * @property int $id + * @property int $user_id + * @property int $internal_id + * @property int $position + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Internal $internal + * @property-read User $user + * @method static \Illuminate\Database\Eloquent\Builder|InternalUser newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|InternalUser newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|InternalUser query() + * @mixin \Eloquent */ class InternalUser extends Pivot { diff --git a/app/Models/Invite.php b/app/Models/Invite.php index 77809abc29..08d58e156c 100644 --- a/app/Models/Invite.php +++ b/app/Models/Invite.php @@ -32,6 +32,16 @@ * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at * @property \Illuminate\Support\Carbon|null $deleted_at + * @property-read User|null $receiver + * @property-read User $sender + * @method static \Database\Factories\InviteFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Invite newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Invite newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Invite onlyTrashed() + * @method static \Illuminate\Database\Eloquent\Builder|Invite query() + * @method static \Illuminate\Database\Eloquent\Builder|Invite withTrashed() + * @method static \Illuminate\Database\Eloquent\Builder|Invite withoutTrashed() + * @mixin \Eloquent */ class Invite extends Model { diff --git a/app/Models/Keyword.php b/app/Models/Keyword.php index e73e64c7b9..31420ec689 100644 --- a/app/Models/Keyword.php +++ b/app/Models/Keyword.php @@ -24,6 +24,12 @@ * @property int $torrent_id * @property string|null $created_at * @property string|null $updated_at + * @property-read \Illuminate\Database\Eloquent\Collection $torrents + * @method static \Database\Factories\KeywordFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Keyword newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Keyword newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Keyword query() + * @mixin \Eloquent */ class Keyword extends Model { diff --git a/app/Models/Like.php b/app/Models/Like.php index f67b53ec0b..6eb5085d8b 100644 --- a/app/Models/Like.php +++ b/app/Models/Like.php @@ -27,6 +27,13 @@ * @property bool|null $dislike * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Post|null $post + * @property-read User $user + * @method static \Database\Factories\LikeFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Like newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Like newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Like query() + * @mixin \Eloquent */ class Like extends Model { diff --git a/app/Models/MediaLanguage.php b/app/Models/MediaLanguage.php index 75607f23b6..79a2114ec3 100644 --- a/app/Models/MediaLanguage.php +++ b/app/Models/MediaLanguage.php @@ -20,11 +20,16 @@ /** * App\Models\MediaLanguage. * - * @property int $id - * @property string $name - * @property string $code - * @property \Illuminate\Support\Carbon|null $created_at - * @property \Illuminate\Support\Carbon|null $updated_at + * @property int $id + * @property string $name + * @property string $code + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @method static \Database\Factories\MediaLanguageFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|MediaLanguage newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|MediaLanguage newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|MediaLanguage query() + * @mixin \Eloquent */ class MediaLanguage extends Model { diff --git a/app/Models/Message.php b/app/Models/Message.php index 7432ebd043..3b17a95e26 100644 --- a/app/Models/Message.php +++ b/app/Models/Message.php @@ -29,6 +29,15 @@ * @property string $message * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Bot|null $bot + * @property-read Chatroom|null $chatroom + * @property-read User|null $receiver + * @property-read User $user + * @method static \Database\Factories\MessageFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Message newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Message newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Message query() + * @mixin \Eloquent */ class Message extends Model { diff --git a/app/Models/Movie.php b/app/Models/Movie.php index 25fc9f7b7d..c64d702c7a 100644 --- a/app/Models/Movie.php +++ b/app/Models/Movie.php @@ -44,6 +44,21 @@ * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at * @property string|null $trailer + * @property-read \Illuminate\Database\Eloquent\Collection $collection + * @property-read \Illuminate\Database\Eloquent\Collection $companies + * @property-read \Illuminate\Database\Eloquent\Collection $credits + * @property-read \Illuminate\Database\Eloquent\Collection $directors + * @property-read \Illuminate\Database\Eloquent\Collection $genres + * @property-read \Illuminate\Database\Eloquent\Collection $people + * @property-read \Illuminate\Database\Eloquent\Collection $recommendations + * @property-read \Illuminate\Database\Eloquent\Collection $recommendedMovies + * @property-read \Illuminate\Database\Eloquent\Collection $requests + * @property-read \Illuminate\Database\Eloquent\Collection $torrents + * @method static \Database\Factories\MovieFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Movie newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Movie newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Movie query() + * @mixin \Eloquent */ class Movie extends Model { diff --git a/app/Models/Network.php b/app/Models/Network.php index be6d4847f5..786cc8b923 100644 --- a/app/Models/Network.php +++ b/app/Models/Network.php @@ -26,6 +26,13 @@ * @property string|null $homepage * @property string|null $headquarters * @property string|null $origin_country + * @property-read \Illuminate\Database\Eloquent\Collection $movie + * @property-read \Illuminate\Database\Eloquent\Collection $tv + * @method static \Database\Factories\NetworkFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Network newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Network newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Network query() + * @mixin \Eloquent */ class Network extends Model { diff --git a/app/Models/Note.php b/app/Models/Note.php index b1c6b76d84..3d3401217e 100644 --- a/app/Models/Note.php +++ b/app/Models/Note.php @@ -26,6 +26,13 @@ * @property string $message * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read User $noteduser + * @property-read User $staffuser + * @method static \Database\Factories\NoteFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Note newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Note newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Note query() + * @mixin \Eloquent */ class Note extends Model { diff --git a/app/Models/Notification.php b/app/Models/Notification.php index 7289e015f0..7dfc021c96 100644 --- a/app/Models/Notification.php +++ b/app/Models/Notification.php @@ -20,14 +20,19 @@ /** * App\Models\Notification. * - * @property int $id - * @property string $type - * @property int $notifiable_id - * @property string $notifiable_type - * @property string $data - * @property string|null $read_at - * @property \Illuminate\Support\Carbon|null $created_at - * @property \Illuminate\Support\Carbon|null $updated_at + * @property int $id + * @property string $type + * @property int $notifiable_id + * @property string $notifiable_type + * @property string $data + * @property string|null $read_at + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @method static \Database\Factories\NotificationFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Notification newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Notification newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Notification query() + * @mixin \Eloquent */ class Notification extends Model { diff --git a/app/Models/Occupation.php b/app/Models/Occupation.php index 15a992d4ba..375a092cfe 100644 --- a/app/Models/Occupation.php +++ b/app/Models/Occupation.php @@ -23,6 +23,13 @@ * @property int $id * @property int $position * @property string $name + * @property-read \Illuminate\Database\Eloquent\Collection $credits + * @property-read \Illuminate\Database\Eloquent\Collection $people + * @method static \Database\Factories\OccupationFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Occupation newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Occupation newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Occupation query() + * @mixin \Eloquent */ class Occupation extends Model { diff --git a/app/Models/Option.php b/app/Models/Option.php index aa834870b7..5109b15232 100644 --- a/app/Models/Option.php +++ b/app/Models/Option.php @@ -26,6 +26,12 @@ * @property int $votes * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Poll $poll + * @method static \Database\Factories\OptionFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Option newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Option newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Option query() + * @mixin \Eloquent */ class Option extends Model { diff --git a/app/Models/Page.php b/app/Models/Page.php index 4da0a89997..223b961d6b 100644 --- a/app/Models/Page.php +++ b/app/Models/Page.php @@ -22,11 +22,16 @@ /** * App\Models\Page. * - * @property int $id - * @property string|null $name - * @property string|null $content - * @property \Illuminate\Support\Carbon|null $created_at - * @property \Illuminate\Support\Carbon|null $updated_at + * @property int $id + * @property string|null $name + * @property string|null $content + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @method static \Database\Factories\PageFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Page newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Page newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Page query() + * @mixin \Eloquent */ class Page extends Model { diff --git a/app/Models/Passkey.php b/app/Models/Passkey.php index be2d3204d7..c698828974 100644 --- a/app/Models/Passkey.php +++ b/app/Models/Passkey.php @@ -23,6 +23,11 @@ * @property string $content * @property string $created_at * @property \Illuminate\Support\Carbon|null $deleted_at + * @property-read User $user + * @method static \Illuminate\Database\Eloquent\Builder|Passkey newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Passkey newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Passkey query() + * @mixin \Eloquent */ class Passkey extends Model { diff --git a/app/Models/Peer.php b/app/Models/Peer.php index 399e498574..af4815cda0 100644 --- a/app/Models/Peer.php +++ b/app/Models/Peer.php @@ -21,8 +21,8 @@ * App\Models\Peer. * * @property int $id - * @property mixed $peer_id - * @property mixed $ip + * @property string $peer_id + * @property string $ip * @property int $port * @property string $agent * @property int $uploaded @@ -35,6 +35,15 @@ * @property int $user_id * @property bool $connectable * @property bool $active + * @property int $visible + * @property-read Torrent|null $seed + * @property-read Torrent $torrent + * @property-read User $user + * @method static \Database\Factories\PeerFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Peer newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Peer newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Peer query() + * @mixin \Eloquent */ class Peer extends Model { diff --git a/app/Models/Person.php b/app/Models/Person.php index bec635b9ce..c08e0f4d51 100644 --- a/app/Models/Person.php +++ b/app/Models/Person.php @@ -35,6 +35,33 @@ * @property string|null $deathday * @property string|null $gender * @property string|null $homepage + * @property-read \Illuminate\Database\Eloquent\Collection $actedMovies + * @property-read \Illuminate\Database\Eloquent\Collection $actedTv + * @property-read \Illuminate\Database\Eloquent\Collection $artDirectedMovies + * @property-read \Illuminate\Database\Eloquent\Collection $artDirectedTv + * @property-read \Illuminate\Database\Eloquent\Collection $cinematographedMovies + * @property-read \Illuminate\Database\Eloquent\Collection $cinematographedTv + * @property-read \Illuminate\Database\Eloquent\Collection $composedMovies + * @property-read \Illuminate\Database\Eloquent\Collection $composedTv + * @property-read \Illuminate\Database\Eloquent\Collection $createdTv + * @property-read \Illuminate\Database\Eloquent\Collection $credits + * @property-read \Illuminate\Database\Eloquent\Collection $directedMovies + * @property-read \Illuminate\Database\Eloquent\Collection $directedTv + * @property-read \Illuminate\Database\Eloquent\Collection $editedMovies + * @property-read \Illuminate\Database\Eloquent\Collection $editedTv + * @property-read \Illuminate\Database\Eloquent\Collection $movie + * @property-read \Illuminate\Database\Eloquent\Collection $producedMovies + * @property-read \Illuminate\Database\Eloquent\Collection $producedTv + * @property-read \Illuminate\Database\Eloquent\Collection $productionDesignedMovies + * @property-read \Illuminate\Database\Eloquent\Collection $productionDesignedTv + * @property-read \Illuminate\Database\Eloquent\Collection $tv + * @property-read \Illuminate\Database\Eloquent\Collection $writtenMovies + * @property-read \Illuminate\Database\Eloquent\Collection $writtenTv + * @method static \Database\Factories\PersonFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Person newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Person newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Person query() + * @mixin \Eloquent */ class Person extends Model { diff --git a/app/Models/PersonalFreeleech.php b/app/Models/PersonalFreeleech.php index 5b4cc3d9eb..f736d580b3 100644 --- a/app/Models/PersonalFreeleech.php +++ b/app/Models/PersonalFreeleech.php @@ -20,10 +20,15 @@ /** * App\Models\PersonalFreeleech. * - * @property int $id - * @property int $user_id - * @property \Illuminate\Support\Carbon|null $created_at - * @property \Illuminate\Support\Carbon|null $updated_at + * @property int $id + * @property int $user_id + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @method static \Database\Factories\PersonalFreeleechFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|PersonalFreeleech newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|PersonalFreeleech newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|PersonalFreeleech query() + * @mixin \Eloquent */ class PersonalFreeleech extends Model { diff --git a/app/Models/Playlist.php b/app/Models/Playlist.php index 034bce214e..f9980bd8ac 100644 --- a/app/Models/Playlist.php +++ b/app/Models/Playlist.php @@ -34,6 +34,14 @@ * @property int $is_featured * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read \Illuminate\Database\Eloquent\Collection $comments + * @property-read \Illuminate\Database\Eloquent\Collection $torrents + * @property-read User $user + * @method static \Database\Factories\PlaylistFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Playlist newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Playlist newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Playlist query() + * @mixin \Eloquent */ class Playlist extends Model { diff --git a/app/Models/PlaylistTorrent.php b/app/Models/PlaylistTorrent.php index 5e868d6e36..5c60326128 100644 --- a/app/Models/PlaylistTorrent.php +++ b/app/Models/PlaylistTorrent.php @@ -25,6 +25,13 @@ * @property int $playlist_id * @property int $torrent_id * @property int $tmdb_id + * @property-read Playlist|null $playlist + * @property-read Torrent $torrent + * @method static \Database\Factories\PlaylistTorrentFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|PlaylistTorrent newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|PlaylistTorrent newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|PlaylistTorrent query() + * @mixin \Eloquent */ class PlaylistTorrent extends Pivot { diff --git a/app/Models/Poll.php b/app/Models/Poll.php index 4950541423..0fb107a840 100644 --- a/app/Models/Poll.php +++ b/app/Models/Poll.php @@ -26,6 +26,15 @@ * @property int $multiple_choice * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read \Illuminate\Database\Eloquent\Collection $options + * @property-read User $user + * @property-read \Illuminate\Database\Eloquent\Collection $users + * @property-read \Illuminate\Database\Eloquent\Collection $votes + * @method static \Database\Factories\PollFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Poll newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Poll newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Poll query() + * @mixin \Eloquent */ class Poll extends Model { diff --git a/app/Models/Post.php b/app/Models/Post.php index dd1ea19e6a..f20a6f9b07 100644 --- a/app/Models/Post.php +++ b/app/Models/Post.php @@ -29,6 +29,19 @@ * @property \Illuminate\Support\Carbon|null $updated_at * @property int $user_id * @property int $topic_id + * @property-read \Illuminate\Database\Eloquent\Collection $authorPosts + * @property-read \Illuminate\Database\Eloquent\Collection $authorTopics + * @property-read \Illuminate\Database\Eloquent\Collection $dislikes + * @property-read \Illuminate\Database\Eloquent\Collection $likes + * @property-read \Illuminate\Database\Eloquent\Collection $tips + * @property-read Topic $topic + * @property-read User $user + * @method static \Illuminate\Database\Eloquent\Builder|Post authorized(?bool $canReadTopic = null, ?bool $canReplyTopic = null, ?bool $canStartTopic = null) + * @method static \Database\Factories\PostFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Post query() + * @mixin \Eloquent */ class Post extends Model { diff --git a/app/Models/PostTip.php b/app/Models/PostTip.php index 2d97eea486..e2c8345870 100644 --- a/app/Models/PostTip.php +++ b/app/Models/PostTip.php @@ -19,11 +19,18 @@ * App\Models\Gift. * * @property int $id - * @property ?int $sender_id - * @property ?int $recipient_id - * @property ?int $post_id + * @property int|null $sender_id + * @property int|null $recipient_id + * @property int|null $post_id * @property string $bon * @property \Illuminate\Support\Carbon $created_at + * @property-read Post|null $post + * @property-read User|null $recipient + * @property-read User|null $sender + * @method static \Illuminate\Database\Eloquent\Builder|PostTip newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|PostTip newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|PostTip query() + * @mixin \Eloquent */ class PostTip extends Model { diff --git a/app/Models/PrivateMessage.php b/app/Models/PrivateMessage.php index 6e4cf8eb65..4daef4fc35 100644 --- a/app/Models/PrivateMessage.php +++ b/app/Models/PrivateMessage.php @@ -31,6 +31,15 @@ * @property int|null $related_to * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read User $receiver + * @property-read PrivateMessage|null $reply + * @property-read PrivateMessage|null $replyRecursive + * @property-read User $sender + * @method static \Database\Factories\PrivateMessageFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|PrivateMessage newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|PrivateMessage newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|PrivateMessage query() + * @mixin \Eloquent */ class PrivateMessage extends Model { diff --git a/app/Models/Recommendation.php b/app/Models/Recommendation.php index e9a5746642..f0deb6d7b5 100644 --- a/app/Models/Recommendation.php +++ b/app/Models/Recommendation.php @@ -29,6 +29,13 @@ * @property int|null $recommendation_movie_id * @property int|null $tv_id * @property int|null $recommendation_tv_id + * @property-read Movie|null $movie + * @property-read Tv|null $tv + * @method static \Database\Factories\RecommendationFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Recommendation newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Recommendation newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Recommendation query() + * @mixin \Eloquent */ class Recommendation extends Model { diff --git a/app/Models/Region.php b/app/Models/Region.php index 75a1951f26..e76ceba1b3 100644 --- a/app/Models/Region.php +++ b/app/Models/Region.php @@ -23,6 +23,13 @@ * @property int $id * @property string $name * @property int $position + * @property-read \Illuminate\Database\Eloquent\Collection $requests + * @property-read \Illuminate\Database\Eloquent\Collection $torrents + * @method static \Database\Factories\RegionFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Region newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Region newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Region query() + * @mixin \Eloquent */ class Region extends Model { diff --git a/app/Models/Report.php b/app/Models/Report.php index c1e6a948f4..c902bc17b3 100644 --- a/app/Models/Report.php +++ b/app/Models/Report.php @@ -33,6 +33,16 @@ * @property int|null $reported_user * @property int|null $torrent_id * @property int|null $request_id + * @property-read User|null $reported + * @property-read User $reporter + * @property-read TorrentRequest|null $request + * @property-read User|null $staff + * @property-read Torrent|null $torrent + * @method static \Database\Factories\ReportFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Report newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Report newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Report query() + * @mixin \Eloquent */ class Report extends Model { diff --git a/app/Models/Resolution.php b/app/Models/Resolution.php index 0b4528cad4..a0cf72ffa5 100644 --- a/app/Models/Resolution.php +++ b/app/Models/Resolution.php @@ -23,6 +23,13 @@ * @property int $id * @property string $name * @property int $position + * @property-read \Illuminate\Database\Eloquent\Collection $requests + * @property-read \Illuminate\Database\Eloquent\Collection $torrents + * @method static \Database\Factories\ResolutionFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Resolution newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Resolution newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Resolution query() + * @mixin \Eloquent */ class Resolution extends Model { diff --git a/app/Models/Resurrection.php b/app/Models/Resurrection.php index 63123f299a..a4c6f4f665 100644 --- a/app/Models/Resurrection.php +++ b/app/Models/Resurrection.php @@ -27,6 +27,13 @@ * @property bool $rewarded * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Torrent $torrent + * @property-read User $user + * @method static \Database\Factories\ResurrectionFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Resurrection newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Resurrection newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Resurrection query() + * @mixin \Eloquent */ class Resurrection extends Model { diff --git a/app/Models/Rss.php b/app/Models/Rss.php index c6447a7927..d2dde75297 100644 --- a/app/Models/Rss.php +++ b/app/Models/Rss.php @@ -32,6 +32,18 @@ * @property \Illuminate\Support\Carbon|null $deleted_at * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read array $expected_fields + * @property-read stdClass|bool $object_torrent + * @property-read User|null $staff + * @property-read User $user + * @method static \Database\Factories\RssFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Rss newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Rss newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Rss onlyTrashed() + * @method static \Illuminate\Database\Eloquent\Builder|Rss query() + * @method static \Illuminate\Database\Eloquent\Builder|Rss withTrashed() + * @method static \Illuminate\Database\Eloquent\Builder|Rss withoutTrashed() + * @mixin \Eloquent */ class Rss extends Model { diff --git a/app/Models/Rsskey.php b/app/Models/Rsskey.php index 149d3a857b..82465e179b 100644 --- a/app/Models/Rsskey.php +++ b/app/Models/Rsskey.php @@ -23,6 +23,11 @@ * @property string $content * @property string $created_at * @property \Illuminate\Support\Carbon|null $deleted_at + * @property-read User $user + * @method static \Illuminate\Database\Eloquent\Builder|Rsskey newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Rsskey newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Rsskey query() + * @mixin \Eloquent */ class Rsskey extends Model { diff --git a/app/Models/Season.php b/app/Models/Season.php index eafdd80558..943dff0af5 100644 --- a/app/Models/Season.php +++ b/app/Models/Season.php @@ -28,6 +28,14 @@ * @property string|null $air_date * @property string|null $created_at * @property string|null $updated_at + * @property-read \Illuminate\Database\Eloquent\Collection $episodes + * @property-read \Illuminate\Database\Eloquent\Collection $torrents + * @property-read Tv $tv + * @method static \Database\Factories\SeasonFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Season newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Season newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Season query() + * @mixin \Eloquent */ class Season extends Model { diff --git a/app/Models/Seedbox.php b/app/Models/Seedbox.php index 629577d97b..2811878825 100644 --- a/app/Models/Seedbox.php +++ b/app/Models/Seedbox.php @@ -27,6 +27,12 @@ * @property string $ip * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read User $user + * @method static \Database\Factories\SeedboxFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Seedbox newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Seedbox newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Seedbox query() + * @mixin \Eloquent */ class Seedbox extends Model { diff --git a/app/Models/Subscription.php b/app/Models/Subscription.php index 30fff494db..4cc2972d29 100644 --- a/app/Models/Subscription.php +++ b/app/Models/Subscription.php @@ -27,6 +27,16 @@ * @property int|null $topic_id * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Forum|null $forum + * @property-read Topic|null $topic + * @property-read User $user + * @method static \Database\Factories\SubscriptionFactory factory($count = null, $state = []) + * @method static Builder|Subscription newModelQuery() + * @method static Builder|Subscription newQuery() + * @method static Builder|Subscription ofForum(int $forum_id) + * @method static Builder|Subscription ofTopic(int $topic_id) + * @method static Builder|Subscription query() + * @mixin \Eloquent */ class Subscription extends Model { diff --git a/app/Models/Subtitle.php b/app/Models/Subtitle.php index 463dfa3f4a..2f7f33dae8 100644 --- a/app/Models/Subtitle.php +++ b/app/Models/Subtitle.php @@ -39,6 +39,14 @@ * @property int|null $moderated_by * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read MediaLanguage|null $language + * @property-read Torrent $torrent + * @property-read User $user + * @method static \Database\Factories\SubtitleFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Subtitle newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Subtitle newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Subtitle query() + * @mixin \Eloquent */ class Subtitle extends Model { diff --git a/app/Models/Thank.php b/app/Models/Thank.php index d3fa9cca23..8bac4eb237 100644 --- a/app/Models/Thank.php +++ b/app/Models/Thank.php @@ -25,6 +25,13 @@ * @property int $torrent_id * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Torrent $torrent + * @property-read User $user + * @method static \Database\Factories\ThankFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Thank newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Thank newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Thank query() + * @mixin \Eloquent */ class Thank extends Model { diff --git a/app/Models/Ticket.php b/app/Models/Ticket.php index f0f639e397..de01b12841 100644 --- a/app/Models/Ticket.php +++ b/app/Models/Ticket.php @@ -35,6 +35,20 @@ * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at * @property string|null $deleted_at + * @property-read \Illuminate\Database\Eloquent\Collection $attachments + * @property-read TicketCategory|null $category + * @property-read \Illuminate\Database\Eloquent\Collection $comments + * @property-read \Illuminate\Database\Eloquent\Collection $notes + * @property-read TicketPriority|null $priority + * @property-read User|null $staff + * @property-read User $user + * @method static \Database\Factories\TicketFactory factory($count = null, $state = []) + * @method static Builder|Ticket newModelQuery() + * @method static Builder|Ticket newQuery() + * @method static Builder|Ticket query() + * @method static Builder|Ticket stale() + * @method static Builder|Ticket status(string $status) + * @mixin \Eloquent */ class Ticket extends Model { diff --git a/app/Models/TicketAttachment.php b/app/Models/TicketAttachment.php index 2a1f3585a8..ac9e2ceb75 100644 --- a/app/Models/TicketAttachment.php +++ b/app/Models/TicketAttachment.php @@ -29,6 +29,13 @@ * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at * @property string|null $deleted_at + * @property-read Ticket|null $ticket + * @property-read User $user + * @method static \Database\Factories\TicketAttachmentFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|TicketAttachment newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TicketAttachment newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TicketAttachment query() + * @mixin \Eloquent */ class TicketAttachment extends Model { diff --git a/app/Models/TicketCategory.php b/app/Models/TicketCategory.php index f81dc494a8..fa6c6fc5d5 100644 --- a/app/Models/TicketCategory.php +++ b/app/Models/TicketCategory.php @@ -20,11 +20,16 @@ /** * App\Models\TicketCategory. * - * @property int $id - * @property string $name - * @property int $position - * @property \Illuminate\Support\Carbon|null $created_at - * @property \Illuminate\Support\Carbon|null $updated_at + * @property int $id + * @property string $name + * @property int $position + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @method static \Database\Factories\TicketCategoryFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|TicketCategory newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TicketCategory newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TicketCategory query() + * @mixin \Eloquent */ class TicketCategory extends Model { diff --git a/app/Models/TicketNote.php b/app/Models/TicketNote.php index 5d2d6a7e47..eda59100fc 100644 --- a/app/Models/TicketNote.php +++ b/app/Models/TicketNote.php @@ -16,6 +16,20 @@ use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; +/** + * @property int $id + * @property int $user_id + * @property int $ticket_id + * @property string $message + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Ticket|null $ticket + * @property-read User|null $user + * @method static \Illuminate\Database\Eloquent\Builder|TicketNote newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TicketNote newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TicketNote query() + * @mixin \Eloquent + */ class TicketNote extends Model { use HasFactory; diff --git a/app/Models/TicketPriority.php b/app/Models/TicketPriority.php index 2bc4bd52f6..7881c6d784 100644 --- a/app/Models/TicketPriority.php +++ b/app/Models/TicketPriority.php @@ -20,11 +20,16 @@ /** * App\Models\TicketPriority. * - * @property int $id - * @property string $name - * @property int $position - * @property \Illuminate\Support\Carbon|null $created_at - * @property \Illuminate\Support\Carbon|null $updated_at + * @property int $id + * @property string $name + * @property int $position + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @method static \Database\Factories\TicketPriorityFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|TicketPriority newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TicketPriority newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TicketPriority query() + * @mixin \Eloquent */ class TicketPriority extends Model { diff --git a/app/Models/Topic.php b/app/Models/Topic.php index 7566e0e262..35d836e8db 100644 --- a/app/Models/Topic.php +++ b/app/Models/Topic.php @@ -40,6 +40,22 @@ * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at * @property int $forum_id + * @property-read Forum $forum + * @property-read \Illuminate\Database\Eloquent\Collection $forumPermissions + * @property-read Post|null $latestPost + * @property-read Post|null $latestPostSlow + * @property-read User|null $latestPoster + * @property-read \Illuminate\Database\Eloquent\Collection $posts + * @property-read \Illuminate\Database\Eloquent\Collection $reads + * @property-read \Illuminate\Database\Eloquent\Collection $subscribedUsers + * @property-read \Illuminate\Database\Eloquent\Collection $subscriptions + * @property-read User|null $user + * @method static \Illuminate\Database\Eloquent\Builder|Topic authorized(?bool $canReadTopic = null, ?bool $canReplyTopic = null, ?bool $canStartTopic = null) + * @method static \Database\Factories\TopicFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Topic newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Topic newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Topic query() + * @mixin \Eloquent */ class Topic extends Model { diff --git a/app/Models/TopicRead.php b/app/Models/TopicRead.php index 20d244efc7..c781df8e88 100644 --- a/app/Models/TopicRead.php +++ b/app/Models/TopicRead.php @@ -20,7 +20,14 @@ * * @property int $user_id * @property int $topic_id - * @property int $post_id + * @property int $last_read_post_id + * @property-read Post $lastReadPost + * @property-read Topic $topic + * @property-read User $user + * @method static \Illuminate\Database\Eloquent\Builder|TopicRead newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TopicRead newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TopicRead query() + * @mixin \Eloquent */ class TopicRead extends Model { diff --git a/app/Models/Torrent.php b/app/Models/Torrent.php index 068a2faccd..776ca98486 100644 --- a/app/Models/Torrent.php +++ b/app/Models/Torrent.php @@ -30,7 +30,6 @@ /** * App\Models\Torrent. * - * @property string $info_hash * @property int $id * @property string $name * @property string $description @@ -40,7 +39,7 @@ * @property int $num_file * @property string|null $folder * @property float $size - * @property mixed|null $nfo + * @property string|null $nfo * @property int $leechers * @property int $seeders * @property int $times_completed @@ -71,7 +70,7 @@ * @property string|null $bumped_at * @property \Illuminate\Support\Carbon|null $fl_until * @property \Illuminate\Support\Carbon|null $du_until - * @property string|null $release_year + * @property int|null $release_year * @property int $type_id * @property int|null $resolution_id * @property int|null $distributor_id @@ -79,6 +78,88 @@ * @property int $personal_release * @property int|null $balance * @property int|null $balance_offset + * @property string $info_hash + * @property-read \Illuminate\Database\Eloquent\Collection $bookmarks + * @property-read Category|null $category + * @property-read \Illuminate\Database\Eloquent\Collection $comments + * @property-read Distributor|null $distributor + * @property-read \Illuminate\Database\Eloquent\Collection $files + * @property-read \Illuminate\Database\Eloquent\Collection $freeleechTokens + * @property-read \Illuminate\Database\Eloquent\Collection $history + * @property-read \Illuminate\Database\Eloquent\Collection $hitrun + * @property-read \Illuminate\Database\Eloquent\Collection $keywords + * @property-read \Illuminate\Database\Eloquent\Collection $leeches + * @property-read User|null $moderated + * @property-read Movie|null $movie + * @property-read \Illuminate\Database\Eloquent\Collection $peers + * @property-read \Illuminate\Database\Eloquent\Collection $playlists + * @property-read Region|null $region + * @property-read \Illuminate\Database\Eloquent\Collection $requests + * @property-read Resolution|null $resolution + * @property-read \Illuminate\Database\Eloquent\Collection $resurrections + * @property-read \Illuminate\Database\Eloquent\Collection $seeds + * @property-write mixed $media_info + * @property-read \Illuminate\Database\Eloquent\Collection $subtitles + * @property-read \Illuminate\Database\Eloquent\Collection $thanks + * @property-read \Illuminate\Database\Eloquent\Collection $tips + * @property-read Tv|null $tv + * @property-read Type|null $type + * @property-read User $user + * @method static \Illuminate\Database\Eloquent\Builder|Torrent alive() + * @method static \Illuminate\Database\Eloquent\Builder|Torrent bookmarkedBy(\App\Models\User $user) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent dead() + * @method static \Illuminate\Database\Eloquent\Builder|Torrent doubleup() + * @method static \Illuminate\Database\Eloquent\Builder|Torrent downloadedBy(\App\Models\User $user) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent dying() + * @method static \Database\Factories\TorrentFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent featured() + * @method static \Illuminate\Database\Eloquent\Builder|Torrent graveyard() + * @method static \Illuminate\Database\Eloquent\Builder|Torrent highSpeed() + * @method static \Illuminate\Database\Eloquent\Builder|Torrent internal() + * @method static \Illuminate\Database\Eloquent\Builder|Torrent lastPerGroup(?array $fields = null) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent leechedby(\App\Models\User $user) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Torrent newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Torrent notDownloadedBy(\App\Models\User $user) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofAdult(?bool $isAdult = null) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofCategory(array $categories) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofCollection(int $collectionId) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofCompany(int $companyId) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofDescription(string $description, bool $isRegex = false) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofDistributor(array $distributors) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofEpisode(int $episodeNumber) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofFilename(string $filename) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofFreeleech(array|int $free) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofGenre(array $genres) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofImdb(int $tvdbId) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofKeyword(array $keywords) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofMal(int $malId) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofMediainfo(string $mediainfo, bool $isRegex = false) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofName(string $name, bool $isRegex = false) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofNetwork(int $networkId) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofPlaylist(int $playlistId) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofPrimaryLanguage(array $languages) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofRefundable(int $refundable) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofRegion(array $regions) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofResolution(array $resolutions) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofSeason(int $seasonNumber) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofSizeGreaterOrEqualTo(int $size) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofSizeLesserOrEqualTo(int $size) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofTmdb(int $tvdbId) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofTvdb(int $tvdbId) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofType(array $types) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent ofUploader(string $username, ?\App\Models\User $authenticatedUser = null) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent personalRelease() + * @method static \Illuminate\Database\Eloquent\Builder|Torrent query() + * @method static \Illuminate\Database\Eloquent\Builder|Torrent refundable() + * @method static \Illuminate\Database\Eloquent\Builder|Torrent releasedAfterOrIn(int $year) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent releasedBeforeOrIn(int $year) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent sd() + * @method static \Illuminate\Database\Eloquent\Builder|Torrent seededBy(\App\Models\User $user) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent streamOptimized() + * @method static \Illuminate\Database\Eloquent\Builder|Torrent uncompletedBy(\App\Models\User $user) + * @method static \Illuminate\Database\Eloquent\Builder|Torrent wishedBy(\App\Models\User $user) + * @mixin \Eloquent */ class Torrent extends Model { diff --git a/app/Models/TorrentDownload.php b/app/Models/TorrentDownload.php index 88f43a97e2..e8a5ac762d 100644 --- a/app/Models/TorrentDownload.php +++ b/app/Models/TorrentDownload.php @@ -25,6 +25,13 @@ * @property string $type * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Torrent $torrent + * @property-read User $user + * @method static \Database\Factories\TorrentDownloadFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentDownload newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentDownload newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentDownload query() + * @mixin \Eloquent */ class TorrentDownload extends Model { diff --git a/app/Models/TorrentFile.php b/app/Models/TorrentFile.php index 8d4e0025d8..563a37329b 100644 --- a/app/Models/TorrentFile.php +++ b/app/Models/TorrentFile.php @@ -24,6 +24,12 @@ * @property string $name * @property int $size * @property int $torrent_id + * @property-read Torrent $torrent + * @method static \Database\Factories\TorrentFileFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentFile newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentFile newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentFile query() + * @mixin \Eloquent */ class TorrentFile extends Model { diff --git a/app/Models/TorrentRequest.php b/app/Models/TorrentRequest.php index 0cd86eaff3..650c9e834d 100644 --- a/app/Models/TorrentRequest.php +++ b/app/Models/TorrentRequest.php @@ -34,7 +34,7 @@ * @property int $igdb * @property string $description * @property int $user_id - * @property float $bounty + * @property string $bounty * @property int $votes * @property int|null $claimed * @property int $anon @@ -48,6 +48,70 @@ * @property \Illuminate\Support\Carbon|null $approved_when * @property int $type_id * @property int|null $resolution_id + * @property-read User|null $approver + * @property-read \Illuminate\Database\Eloquent\Collection $bounties + * @property-read Category|null $category + * @property-read TorrentRequestClaim|null $claim + * @property-read \Illuminate\Database\Eloquent\Collection $comments + * @property-read User|null $filler + * @property-read Resolution|null $resolution + * @property-read Torrent|null $torrent + * @property-read Type|null $type + * @property-read User $user + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest alive() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest bookmarkedBy(\App\Models\User $user) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest dead() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest doubleup() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest downloadedBy(\App\Models\User $user) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest dying() + * @method static \Database\Factories\TorrentRequestFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest featured() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest graveyard() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest highSpeed() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest internal() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest leechedby(\App\Models\User $user) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest notDownloadedBy(\App\Models\User $user) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofAdult(?bool $isAdult = null) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofCategory(array $categories) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofCollection(int $collectionId) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofCompany(int $companyId) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofDescription(string $description, bool $isRegex = false) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofDistributor(array $distributors) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofEpisode(int $episodeNumber) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofFilename(string $filename) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofFreeleech(array|int $free) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofGenre(array $genres) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofImdb(int $tvdbId) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofKeyword(array $keywords) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofMal(int $malId) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofMediainfo(string $mediainfo, bool $isRegex = false) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofName(string $name, bool $isRegex = false) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofNetwork(int $networkId) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofPlaylist(int $playlistId) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofPrimaryLanguage(array $languages) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofRefundable(int $refundable) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofRegion(array $regions) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofResolution(array $resolutions) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofSeason(int $seasonNumber) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofSizeGreaterOrEqualTo(int $size) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofSizeLesserOrEqualTo(int $size) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofTmdb(int $tvdbId) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofTvdb(int $tvdbId) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofType(array $types) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest ofUploader(string $username, ?\App\Models\User $authenticatedUser = null) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest personalRelease() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest query() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest refundable() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest releasedAfterOrIn(int $year) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest releasedBeforeOrIn(int $year) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest sd() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest seededBy(\App\Models\User $user) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest streamOptimized() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest uncompletedBy(\App\Models\User $user) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequest wishedBy(\App\Models\User $user) + * @mixin \Eloquent */ class TorrentRequest extends Model { diff --git a/app/Models/TorrentRequestBounty.php b/app/Models/TorrentRequestBounty.php index 0807b30551..1332a07947 100644 --- a/app/Models/TorrentRequestBounty.php +++ b/app/Models/TorrentRequestBounty.php @@ -22,11 +22,18 @@ * * @property int $id * @property int $user_id - * @property float $seedbonus + * @property string $seedbonus * @property int $requests_id * @property int $anon * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read TorrentRequest|null $request + * @property-read User $user + * @method static \Database\Factories\TorrentRequestBountyFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequestBounty newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequestBounty newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequestBounty query() + * @mixin \Eloquent */ class TorrentRequestBounty extends Model { diff --git a/app/Models/TorrentRequestClaim.php b/app/Models/TorrentRequestClaim.php index 52f22cb6f1..5f7782aa13 100644 --- a/app/Models/TorrentRequestClaim.php +++ b/app/Models/TorrentRequestClaim.php @@ -27,6 +27,13 @@ * @property int $anon * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read TorrentRequest|null $request + * @property-read User $user + * @method static \Database\Factories\TorrentRequestClaimFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequestClaim newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequestClaim newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentRequestClaim query() + * @mixin \Eloquent */ class TorrentRequestClaim extends Model { diff --git a/app/Models/TorrentTip.php b/app/Models/TorrentTip.php index 399d487670..43e1b830ca 100644 --- a/app/Models/TorrentTip.php +++ b/app/Models/TorrentTip.php @@ -19,11 +19,18 @@ * App\Models\Gift. * * @property int $id - * @property ?int $sender_id - * @property ?int $recipient_id - * @property ?int $torrent_id + * @property int|null $sender_id + * @property int|null $recipient_id + * @property int|null $torrent_id * @property string $bon * @property \Illuminate\Support\Carbon $created_at + * @property-read User|null $recipient + * @property-read User|null $sender + * @property-read Torrent|null $torrent + * @method static \Illuminate\Database\Eloquent\Builder|TorrentTip newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentTip newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TorrentTip query() + * @mixin \Eloquent */ class TorrentTip extends Model { diff --git a/app/Models/Tv.php b/app/Models/Tv.php index d8d953bd44..8a12f3d287 100644 --- a/app/Models/Tv.php +++ b/app/Models/Tv.php @@ -50,6 +50,21 @@ * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at * @property string|null $trailer + * @property-read \Illuminate\Database\Eloquent\Collection $companies + * @property-read \Illuminate\Database\Eloquent\Collection $creators + * @property-read \Illuminate\Database\Eloquent\Collection $credits + * @property-read \Illuminate\Database\Eloquent\Collection $genres + * @property-read \Illuminate\Database\Eloquent\Collection $networks + * @property-read \Illuminate\Database\Eloquent\Collection $people + * @property-read \Illuminate\Database\Eloquent\Collection $recommendations + * @property-read \Illuminate\Database\Eloquent\Collection $recommendedTv + * @property-read \Illuminate\Database\Eloquent\Collection $seasons + * @property-read \Illuminate\Database\Eloquent\Collection $torrents + * @method static \Database\Factories\TvFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Tv newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Tv newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Tv query() + * @mixin \Eloquent */ class Tv extends Model { diff --git a/app/Models/Type.php b/app/Models/Type.php index f5a2b98c2b..88163646ca 100644 --- a/app/Models/Type.php +++ b/app/Models/Type.php @@ -23,6 +23,13 @@ * @property int $id * @property string $name * @property int $position + * @property-read \Illuminate\Database\Eloquent\Collection $requests + * @property-read \Illuminate\Database\Eloquent\Collection $torrents + * @method static \Database\Factories\TypeFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Type newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Type newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Type query() + * @mixin \Eloquent */ class Type extends Model { diff --git a/app/Models/User.php b/app/Models/User.php index 7c65173d63..630489ff43 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -47,7 +47,7 @@ * @property string|null $about * @property string|null $signature * @property int $fl_tokens - * @property float $seedbonus + * @property string $seedbonus * @property int $invites * @property int $hitandruns * @property string $rsskey @@ -85,6 +85,95 @@ * @property \Illuminate\Support\Carbon|null $deleted_at * @property int $own_flushes * @property string|null $email_verified_at + * @property-read \Illuminate\Database\Eloquent\Collection $ApprovedRequests + * @property-read \Illuminate\Database\Eloquent\Collection $achievements + * @property-read \Illuminate\Database\Eloquent\Collection $apikeys + * @property-read Application|null $application + * @property-read \Illuminate\Database\Eloquent\Collection $articles + * @property-read \Illuminate\Database\Eloquent\Collection $audibles + * @property-read \Illuminate\Database\Eloquent\Collection $bookmarks + * @property-read ChatStatus|null $chatStatus + * @property-read Chatroom|null $chatroom + * @property-read \Illuminate\Database\Eloquent\Collection $comments + * @property-read \Illuminate\Database\Eloquent\Collection $connectableSeedingTorrents + * @property-read \Illuminate\Database\Eloquent\Collection $echoes + * @property-read \Illuminate\Database\Eloquent\Collection $emailUpdates + * @property-read \Illuminate\Database\Eloquent\Collection $failedLogins + * @property-read \Illuminate\Database\Eloquent\Collection $featuredTorrent + * @property-read \Illuminate\Database\Eloquent\Collection $filledRequests + * @property-read \Illuminate\Database\Eloquent\Collection $followers + * @property-read \Illuminate\Database\Eloquent\Collection $following + * @property-read \Illuminate\Database\Eloquent\Collection $forumPermissions + * @property-read \Illuminate\Database\Eloquent\Collection $freeleechTokens + * @property-read string $about_html + * @property-read string $formatted_buffer + * @property-read string $formatted_downloaded + * @property-read string $formatted_ratio + * @property-read string $formatted_seedbonus + * @property-read string $formatted_uploaded + * @property-read float $ratio + * @property-read string $signature_html + * @property-read Group|null $group + * @property-read \Illuminate\Database\Eloquent\Collection $history + * @property-read \Illuminate\Database\Eloquent\Collection $internals + * @property-read \Illuminate\Database\Eloquent\Collection $leechingTorrents + * @property-read \Illuminate\Database\Eloquent\Collection $likes + * @property-read \Illuminate\Database\Eloquent\Collection $messages + * @property-read \Illuminate\Database\Eloquent\Collection $moderated + * @property-read \Illuminate\Database\Eloquent\Collection $notes + * @property-read UserNotification|null $notification + * @property-read \Illuminate\Notifications\DatabaseNotificationCollection $notifications + * @property-read \Illuminate\Database\Eloquent\Collection $passkeys + * @property-read \Illuminate\Database\Eloquent\Collection $peers + * @property-read \Illuminate\Database\Eloquent\Collection $personalFreeleeches + * @property-read \Illuminate\Database\Eloquent\Collection $playlists + * @property-read \Illuminate\Database\Eloquent\Collection $polls + * @property-read \Illuminate\Database\Eloquent\Collection $posts + * @property-read UserPrivacy|null $privacy + * @property-read \Illuminate\Database\Eloquent\Collection $receivedGifts + * @property-read \Illuminate\Database\Eloquent\Collection $receivedInvites + * @property-read \Illuminate\Database\Eloquent\Collection $receivedPostTips + * @property-read \Illuminate\Database\Eloquent\Collection $receivedPrivateMessages + * @property-read \Illuminate\Database\Eloquent\Collection $receivedTorrentTips + * @property-read \Illuminate\Database\Eloquent\Collection $reports + * @property-read \Illuminate\Database\Eloquent\Collection $requestBounty + * @property-read \Illuminate\Database\Eloquent\Collection $requests + * @property-read \Illuminate\Database\Eloquent\Collection $resurrections + * @property-read \Illuminate\Database\Eloquent\Collection $rss + * @property-read \Illuminate\Database\Eloquent\Collection $rsskeys + * @property-read \Illuminate\Database\Eloquent\Collection $seedboxes + * @property-read \Illuminate\Database\Eloquent\Collection $seedingTorrents + * @property-read \Illuminate\Database\Eloquent\Collection $sentGifts + * @property-read \Illuminate\Database\Eloquent\Collection $sentInvites + * @property-read \Illuminate\Database\Eloquent\Collection $sentPostTips + * @property-read \Illuminate\Database\Eloquent\Collection $sentPrivateMessages + * @property-read \Illuminate\Database\Eloquent\Collection $sentTorrentTips + * @property-read \Illuminate\Database\Eloquent\Collection $solvedReports + * @property-read \Illuminate\Database\Eloquent\Collection $staffban + * @property-read \Illuminate\Database\Eloquent\Collection $staffdeletedwarning + * @property-read \Illuminate\Database\Eloquent\Collection $staffwarning + * @property-read \Illuminate\Database\Eloquent\Collection $subscribedForums + * @property-read \Illuminate\Database\Eloquent\Collection $subscribedTopics + * @property-read \Illuminate\Database\Eloquent\Collection $subscriptions + * @property-read \Illuminate\Database\Eloquent\Collection $thanksGiven + * @property-read \Illuminate\Database\Eloquent\Collection $thanksReceived + * @property-read \Illuminate\Database\Eloquent\Collection $tickets + * @property-read \Illuminate\Database\Eloquent\Collection $topics + * @property-read \Illuminate\Database\Eloquent\Collection $torrents + * @property-read \Illuminate\Database\Eloquent\Collection $uploadSnatches + * @property-read \Illuminate\Database\Eloquent\Collection $userban + * @property-read \Illuminate\Database\Eloquent\Collection $userwarning + * @property-read \Illuminate\Database\Eloquent\Collection $warnings + * @property-read Watchlist|null $watchlist + * @property-read \Illuminate\Database\Eloquent\Collection $wishes + * @method static \Database\Factories\UserFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|User newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|User newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|User onlyTrashed() + * @method static \Illuminate\Database\Eloquent\Builder|User query() + * @method static \Illuminate\Database\Eloquent\Builder|User withTrashed() + * @method static \Illuminate\Database\Eloquent\Builder|User withoutTrashed() + * @mixin \Eloquent */ class User extends Authenticatable implements MustVerifyEmail { diff --git a/app/Models/UserActivation.php b/app/Models/UserActivation.php index 060511ac21..fb5bdec8df 100644 --- a/app/Models/UserActivation.php +++ b/app/Models/UserActivation.php @@ -19,6 +19,13 @@ /** * App\Models\UserActivation. + * + * @property-read User|null $user + * @method static \Database\Factories\UserActivationFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|UserActivation newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|UserActivation newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|UserActivation query() + * @mixin \Eloquent */ class UserActivation extends Model { diff --git a/app/Models/UserAudible.php b/app/Models/UserAudible.php index 1fbba0185f..e1cc60b6e9 100644 --- a/app/Models/UserAudible.php +++ b/app/Models/UserAudible.php @@ -27,6 +27,15 @@ * @property int $status * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Bot|null $bot + * @property-read Chatroom|null $room + * @property-read User|null $target + * @property-read User $user + * @method static \Database\Factories\UserAudibleFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|UserAudible newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|UserAudible newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|UserAudible query() + * @mixin \Eloquent */ class UserAudible extends Model { diff --git a/app/Models/UserEcho.php b/app/Models/UserEcho.php index d868b61d3a..1528452531 100644 --- a/app/Models/UserEcho.php +++ b/app/Models/UserEcho.php @@ -26,6 +26,15 @@ * @property int|null $bot_id * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Bot|null $bot + * @property-read Chatroom|null $room + * @property-read User|null $target + * @property-read User $user + * @method static \Database\Factories\UserEchoFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|UserEcho newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|UserEcho newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|UserEcho query() + * @mixin \Eloquent */ class UserEcho extends Model { diff --git a/app/Models/UserNotification.php b/app/Models/UserNotification.php index dc1630cb2c..3db2315d83 100644 --- a/app/Models/UserNotification.php +++ b/app/Models/UserNotification.php @@ -50,6 +50,14 @@ * @property array $json_forum_groups * @property array $json_following_groups * @property array $json_subscription_groups + * @property-read \App\Models\array{} $expected_fields + * @property-read \App\Models\array{} $expected_groups + * @property-read User $user + * @method static \Database\Factories\UserNotificationFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|UserNotification newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|UserNotification newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|UserNotification query() + * @mixin \Eloquent */ class UserNotification extends Model { diff --git a/app/Models/UserPrivacy.php b/app/Models/UserPrivacy.php index 02af000d4d..817267c96f 100644 --- a/app/Models/UserPrivacy.php +++ b/app/Models/UserPrivacy.php @@ -60,6 +60,14 @@ * @property array $json_rank_groups * @property array $json_request_groups * @property array $json_other_groups + * @property-read \App\Models\array{} $expected_fields + * @property-read \App\Models\array{} $expected_groups + * @property-read User $user + * @method static \Database\Factories\UserPrivacyFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|UserPrivacy newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|UserPrivacy newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|UserPrivacy query() + * @mixin \Eloquent */ class UserPrivacy extends Model { diff --git a/app/Models/Voter.php b/app/Models/Voter.php index b53e63c03d..6b7e22cf70 100644 --- a/app/Models/Voter.php +++ b/app/Models/Voter.php @@ -25,6 +25,13 @@ * @property int $user_id * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read Poll $poll + * @property-read User $user + * @method static \Database\Factories\VoterFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Voter newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Voter newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Voter query() + * @mixin \Eloquent */ class Voter extends Model { diff --git a/app/Models/Warning.php b/app/Models/Warning.php index 84bb292626..56b3a33e9a 100644 --- a/app/Models/Warning.php +++ b/app/Models/Warning.php @@ -33,6 +33,19 @@ * @property \Illuminate\Support\Carbon|null $deleted_at * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read User|null $deletedBy + * @property-read User $staffuser + * @property-read Torrent|null $torrenttitle + * @property-read User $warneduser + * @method static Builder|Warning active() + * @method static \Database\Factories\WarningFactory factory($count = null, $state = []) + * @method static Builder|Warning newModelQuery() + * @method static Builder|Warning newQuery() + * @method static Builder|Warning onlyTrashed() + * @method static Builder|Warning query() + * @method static Builder|Warning withTrashed() + * @method static Builder|Warning withoutTrashed() + * @mixin \Eloquent */ class Warning extends Model { diff --git a/app/Models/Watchlist.php b/app/Models/Watchlist.php index e272845ae6..bbae424232 100644 --- a/app/Models/Watchlist.php +++ b/app/Models/Watchlist.php @@ -26,6 +26,13 @@ * @property string $message * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read User $author + * @property-read User $user + * @method static \Database\Factories\WatchlistFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Watchlist newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Watchlist newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Watchlist query() + * @mixin \Eloquent */ class Watchlist extends Model { diff --git a/app/Models/WhitelistedImageUrl.php b/app/Models/WhitelistedImageUrl.php index 853c313532..ee55f30f2b 100644 --- a/app/Models/WhitelistedImageUrl.php +++ b/app/Models/WhitelistedImageUrl.php @@ -20,8 +20,14 @@ /** * App\Models\WhitelistedImageUrl. * - * @property int $id - * @property string $pattern + * @property int $id + * @property string $pattern + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @method static \Illuminate\Database\Eloquent\Builder|WhitelistedImageUrl newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|WhitelistedImageUrl newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|WhitelistedImageUrl query() + * @mixin \Eloquent */ class WhitelistedImageUrl extends Model { diff --git a/app/Models/Wiki.php b/app/Models/Wiki.php index 94fdd8628a..0f630d1646 100644 --- a/app/Models/Wiki.php +++ b/app/Models/Wiki.php @@ -26,6 +26,11 @@ * @property int $category_id * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read WikiCategory $category + * @method static \Illuminate\Database\Eloquent\Builder|Wiki newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Wiki newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Wiki query() + * @mixin \Eloquent */ class Wiki extends Model { diff --git a/app/Models/WikiCategory.php b/app/Models/WikiCategory.php index 48dea342b0..08fa1e1f53 100644 --- a/app/Models/WikiCategory.php +++ b/app/Models/WikiCategory.php @@ -22,6 +22,11 @@ * @property string $name * @property string $icon * @property int $position + * @property-read \Illuminate\Database\Eloquent\Collection $wikis + * @method static \Illuminate\Database\Eloquent\Builder|WikiCategory newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|WikiCategory newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|WikiCategory query() + * @mixin \Eloquent */ class WikiCategory extends Model { diff --git a/app/Models/Wish.php b/app/Models/Wish.php index c6a0b53994..4847fa91eb 100644 --- a/app/Models/Wish.php +++ b/app/Models/Wish.php @@ -28,6 +28,12 @@ * @property string|null $source * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read User $user + * @method static \Database\Factories\WishFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Wish newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Wish newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Wish query() + * @mixin \Eloquent */ class Wish extends Model {