|PushNotificationLog whereLabel($value) * @method static \Illuminate\Database\Eloquent\Builder|PushNotificationLog whereUserId($value) * @method static \Illuminate\Database\Eloquent\Builder|PushNotificationLog whereTarget($value) * @method static \Illuminate\Database\Eloquent\Builder|PushNotificationLog whereCategory($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); } }