You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/app/Models/AccountLog.php

47 lines
2.1 KiB
PHTML

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
4 days ago
/**
* @property int $id
* @property int $user_id
* @property int|null $item_id
* @property string|null $item_type
* @property string|null $action
* @property string|null $message
* @property string|null $link
* @property string|null $ip_address
* @property string|null $user_agent
* @property string|null $metadata
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\User|null $user
* @method static \Illuminate\Database\Eloquent\Builder<static>|AccountLog newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder<static>|AccountLog newQuery()
* @method static \Illuminate\Database\Eloquent\Builder<static>|AccountLog query()
* @method static \Illuminate\Database\Eloquent\Builder<static>|AccountLog whereAction($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|AccountLog whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|AccountLog whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|AccountLog whereIpAddress($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|AccountLog whereItemId($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|AccountLog whereItemType($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|AccountLog whereLink($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|AccountLog whereMessage($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|AccountLog whereMetadata($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|AccountLog whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|AccountLog whereUserAgent($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|AccountLog whereUserId($value)
* @mixin \Eloquent
*/
class AccountLog extends Model
{
protected $guarded = [];
public function user()
{
9 months ago
return $this->belongsTo(User::class);
}
}