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.
34 lines
953 B
34 lines
953 B
using CellularManagement.Domain.Common;
|
|
using MediatR;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace CellularManagement.Application.Features.IMSConfiguration.Queries.GetIMS_Configurations;
|
|
|
|
/// <summary>
|
|
/// 获取IMS配置列表查询
|
|
/// </summary>
|
|
public class GetIMS_ConfigurationsQuery : IRequest<OperationResult<GetIMS_ConfigurationsResponse>>
|
|
{
|
|
/// <summary>
|
|
/// 页码
|
|
/// </summary>
|
|
[Range(1, int.MaxValue, ErrorMessage = "页码必须大于0")]
|
|
public int PageNumber { get; set; } = 1;
|
|
|
|
/// <summary>
|
|
/// 每页数量
|
|
/// </summary>
|
|
[Range(1, 1000, ErrorMessage = "每页数量必须在1-1000之间")]
|
|
public int PageSize { get; set; } = 10;
|
|
|
|
/// <summary>
|
|
/// 搜索关键词
|
|
/// </summary>
|
|
[MaxLength(100)]
|
|
public string? SearchTerm { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否只获取未禁用的配置
|
|
/// </summary>
|
|
public bool? IsDisabled { get; set; }
|
|
}
|