belongsTo(User::class, 'user_id'); } /** * Create a new factory instance for the model. */ protected static function newFactory(): ActivityFactory { return new ActivityFactory; } }