|PushNotificationLog newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|PushNotificationLog newQuery() * @method static \Illuminate\Database\Eloquent\Builder|PushNotificationLog query() * @method static \Illuminate\Database\Eloquent\Builder|PushNotificationLog whereCategory($value) * @method static \Illuminate\Database\Eloquent\Builder|PushNotificationLog whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|PushNotificationLog whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|PushNotificationLog whereLabel($value) * @method static \Illuminate\Database\Eloquent\Builder|PushNotificationLog whereSentAt($value) * @method static \Illuminate\Database\Eloquent\Builder|PushNotificationLog whereTarget($value) * @method static \Illuminate\Database\Eloquent\Builder|PushNotificationLog whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|PushNotificationLog whereUserId($value) * @mixin \Eloquent */ class PushNotificationLog extends Model { protected $guarded = ['id']; protected $casts = [ 'sent_at' => 'datetime', 'target' => PushNotificationTargetEnum::class, ]; public function user(): BelongsTo { return $this->belongsTo(User::class); } }