66 lines
2.0 KiB
C#
66 lines
2.0 KiB
C#
namespace Oms.Application.Dtos.Orders;
|
||
|
||
/// <summary>
|
||
/// 订单分页查询入参。
|
||
/// </summary>
|
||
public class OrderPaginatedInput
|
||
{
|
||
/// <summary>
|
||
/// 页码,从 1 开始。
|
||
/// </summary>
|
||
[Newtonsoft.Json.JsonProperty("page")]
|
||
public int Page { get; set; } = 1;
|
||
|
||
/// <summary>
|
||
/// 每页条数。
|
||
/// </summary>
|
||
[Newtonsoft.Json.JsonProperty("pageSize")]
|
||
public int PageSize { get; set; } = 20;
|
||
|
||
/// <summary>
|
||
/// 状态:all 或 OrderStatusCodes 枚举值。
|
||
/// </summary>
|
||
[Newtonsoft.Json.JsonProperty("status")]
|
||
[global::System.Text.Json.Serialization.JsonPropertyName("status")]
|
||
public string? Status { get; set; }
|
||
|
||
/// <summary>
|
||
/// 子状态:all / pending / processed(仅问题件、已理赔 Tab 使用)。
|
||
/// </summary>
|
||
[Newtonsoft.Json.JsonProperty("handleStatus")]
|
||
[global::System.Text.Json.Serialization.JsonPropertyName("handleStatus")]
|
||
public string? HandleStatus { get; set; }
|
||
|
||
/// <summary>
|
||
/// 订单来源:all / manual / pickup / upload / batch / platform。
|
||
/// </summary>
|
||
[Newtonsoft.Json.JsonProperty("orderSource")]
|
||
[global::System.Text.Json.Serialization.JsonPropertyName("orderSource")]
|
||
public string? OrderSource { get; set; }
|
||
|
||
/// <summary>
|
||
/// 客户 ID(管理端可选;不传则查全部)。
|
||
/// </summary>
|
||
[Newtonsoft.Json.JsonProperty("customerId")]
|
||
[global::System.Text.Json.Serialization.JsonPropertyName("customerId")]
|
||
public int? CustomerId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 关键词。
|
||
/// </summary>
|
||
[Newtonsoft.Json.JsonProperty("keyword")]
|
||
public string? Keyword { get; set; }
|
||
|
||
/// <summary>
|
||
/// 创建TimeStart。
|
||
/// </summary>
|
||
[Newtonsoft.Json.JsonProperty("createTimeStart")]
|
||
public DateTime? CreateTimeStart { get; set; }
|
||
|
||
/// <summary>
|
||
/// 创建TimeEnd。
|
||
/// </summary>
|
||
[Newtonsoft.Json.JsonProperty("createTimeEnd")]
|
||
public DateTime? CreateTimeEnd { get; set; }
|
||
}
|