admin/src/Oms.Application/Dtos/Orders/ItfxCreateOrderOneBody.cs
zzh 6b920cc49d
All checks were successful
Build and Deploy / deploy (push) Successful in 1m46s
fix: 对齐 createOrderOne 下游预报请求体,productCode 取预报渠道 code
移除 channelCode 等多余字段,改用专用 ItfxCreateOrderOneBody。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-16 17:43:30 +08:00

58 lines
1.4 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.Orders;
/// <summary>
/// itfx createOrderOne(ForwardWithSubscribe)标准请求体。
/// 仅包含下游接口字段,不含 OMS 内部扩展参数。
/// </summary>
public class ItfxCreateOrderOneBody
{
public string? ClientNo { get; set; }
public string? TrackNo { get; set; }
public string? ServiceNo { get; set; }
/// <summary>
/// 下游产品代码:取服务渠道「预报渠道 code」(ForecastCode)。
/// </summary>
public string? ProductCode { get; set; }
public string? CargoAttribute { get; set; }
public int? WarehouseId { get; set; }
public int? CustomerId { get; set; }
public decimal? Length { get; set; }
public decimal? Width { get; set; }
public decimal? Height { get; set; }
public decimal? ActualWeight { get; set; }
public decimal? VolumetricWeight { get; set; }
public decimal? ChargeableWeight { get; set; }
public decimal? Cubic { get; set; }
public bool IsCod { get; set; }
public string? CodCurrency { get; set; }
public string? CodSum { get; set; }
public string? DeclaredCurrency { get; set; }
public string? DeclaredSum { get; set; }
public string? Quantity { get; set; }
public OrderParcelReceiverInput? Receiver { get; set; }
public OrderParcelSenderInput? Sender { get; set; }
public List<OrderParcelItemInput> Items { get; set; } = [];
}