namespace Oms.Application.Dtos.Orders; /// /// 工作台费用趋势(按日/周/月)。 /// public class OrderWorkplaceSpendTrendOutput { /// /// 维度:day / week / month。 /// public string Dimension { get; set; } = "day"; /// /// 区间合计:运费支出(客户应付)。 /// public decimal TotalSpend { get; set; } /// /// 区间合计:订单数。 /// public int TotalOrders { get; set; } /// /// 区间合计:单票均价。 /// public decimal AvgAmount { get; set; } /// /// 趋势点(按时间正序)。 /// public List Points { get; set; } = []; } /// /// 单个时间桶的费用汇总。 /// public class OrderWorkplaceSpendTrendPointOutput { /// /// 展示标签。 /// public string Label { get; set; } = string.Empty; /// /// 订单数(创建时间)。 /// public int OrderCount { get; set; } /// /// 运费支出合计(Order.PayableAmount)。 /// public decimal SpendAmount { get; set; } /// /// 单票均价。 /// public decimal AvgAmount { get; set; } }