admin/src/Oms.Application/Dtos/Finance/ReceivablePayablePaginatedInput.cs
zzh ce1349572d feat: extend receivable-payable APIs with summary, export, and filters
Add summary/export endpoints plus customer code, effective stage, time field, and payment status filtering for finance reconciliation.
2026-08-21 18:21:33 +08:00

64 lines
1.7 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace Oms.Application.Dtos.Finance;
/// <summary>
/// 应收应付分页查询入参。
/// </summary>
public class ReceivablePayablePaginatedInput
{
public int Page { get; set; } = 1;
public int PageSize { get; set; } = 20;
/// <summary>
/// 运单号 / 客户单号 / 跟踪号关键词。
/// </summary>
public string? Keyword { get; set; }
/// <summary>
/// 费用类型:receivable / payable,空或 all 表示全部。
/// </summary>
public string? FeeType { get; set; }
/// <summary>
/// 费用项关键词。
/// </summary>
public string? CostItem { get; set; }
/// <summary>
/// 计费阶段:forecast / inbound / outbound。
/// </summary>
public string? ChargingStage { get; set; }
public int? CustomerId { get; set; }
/// <summary>
/// 客户编码关键词(模糊匹配)。
/// </summary>
public string? CustomerCode { get; set; }
/// <summary>
/// 仅保留各运单费用项的当前生效阶段。
/// </summary>
public bool EffectiveStageOnly { get; set; }
/// <summary>
/// 订单创建时间起(timeField=createTime 时生效,兼容旧参数)。
/// </summary>
public DateTime? StartTime { get; set; }
/// <summary>
/// 订单创建时间止(timeField=createTime 时生效,兼容旧参数)。
/// </summary>
public DateTime? EndTime { get; set; }
/// <summary>
/// 时间筛选字段:createTime / receiveTime / shipTime / payTime。
/// </summary>
public string? TimeField { get; set; }
/// <summary>
/// 支付状态:0 未支付,1 已支付。
/// </summary>
public int? IsPaid { get; set; }
}