You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
815 B
20 lines
815 B
using CellularManagement.Domain.Common;
|
|
using MediatR;
|
|
|
|
namespace CellularManagement.Application.Features.Users.Queries.GetAllUsers;
|
|
|
|
/// <summary>
|
|
/// 获取所有用户查询
|
|
/// 支持按用户名、邮箱、手机号进行条件查询
|
|
/// </summary>
|
|
/// <param name="PageNumber">页码,从1开始</param>
|
|
/// <param name="PageSize">每页记录数</param>
|
|
/// <param name="UserName">用户名(可选,支持模糊查询)</param>
|
|
/// <param name="Email">邮箱(可选,支持模糊查询)</param>
|
|
/// <param name="PhoneNumber">手机号(可选,支持模糊查询)</param>
|
|
public sealed record GetAllUsersQuery(
|
|
int PageNumber = 1,
|
|
int PageSize = 10,
|
|
string? UserName = null,
|
|
string? Email = null,
|
|
string? PhoneNumber = null) : IRequest<OperationResult<GetAllUsersResponse>>;
|