Class UserSearchRequest
- Namespace
- Builvero.Application.DTOs
- Assembly
- Builvero.Application.dll
Request model for searching users with text, category, skills, and pagination filters.
public class UserSearchRequest
- Inheritance
-
UserSearchRequest
- Inherited Members
Remarks
This DTO is used by the user search endpoint to filter and paginate user results. All filters are optional and can be combined. Search is case-insensitive and matches user names and profile summaries.
Properties
Category
Gets or sets the user category filter (optional, e.g., "SoftwareEngineer", "Designer").
public string? Category { get; set; }
Property Value
- string
- Request model for searching users with text, category, skills, and pagination filters.
Remarks
Must match a UserCategory enum value (case-insensitive).
Page
Gets or sets the page number for pagination (1-based, defaults to 1).
public int Page { get; set; }
Property Value
- int
- Request model for searching users with text, category, skills, and pagination filters.
PageSize
Gets or sets the number of results per page (defaults to 20).
public int PageSize { get; set; }
Property Value
- int
- Request model for searching users with text, category, skills, and pagination filters.
Skills
Gets or sets the list of skill IDs to filter users by (optional).
public List<Guid>? Skills { get; set; }
Property Value
Remarks
Returns users who have at least one of the specified skills.
Text
Gets or sets the search text for filtering users by name or profile summary (optional).
public string? Text { get; set; }
Property Value
- string
- Request model for searching users with text, category, skills, and pagination filters.
Remarks
Case-insensitive search that matches user full names and profile summaries.