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