ListWorkflowConfigurations::route('/'), 'create' => CreateWorkflowConfiguration::route('/create'), 'view' => ViewWorkflowConfiguration::route('/{record}'), 'edit' => EditWorkflowConfiguration::route('/{record}/edit'), ]; } public static function getEloquentQuery(): Builder { return parent::getEloquentQuery() ->with(['loanType', 'creator']) ->withCount(['steps', 'loans']); } }