Support multi cargo-type and warehouse combinations in price check billing. Auto-generate customer codes (W+yyMM+seq) on create/register; require email. Use order DownstreamSupplierCode as track UpsertSmallBag apiCode. Co-authored-by: Cursor <cursoragent@cursor.com>
63 lines
1.4 KiB
C#
63 lines
1.4 KiB
C#
namespace Oms.Application.Dtos.Orders;
|
||
|
||
/// <summary>
|
||
/// 订单入参。
|
||
/// </summary>
|
||
public class OrderPriceCheckInput
|
||
{
|
||
/// <summary>
|
||
/// 目的国家/地区。
|
||
/// </summary>
|
||
public string DestinationCountry { get; set; } = string.Empty;
|
||
|
||
/// <summary>
|
||
/// 运输方式。
|
||
/// </summary>
|
||
public string? ShippingMethod { get; set; }
|
||
|
||
/// <summary>
|
||
/// 货物重量。
|
||
/// </summary>
|
||
public decimal? CargoWeight { get; set; }
|
||
|
||
/// <summary>
|
||
/// 长度。
|
||
/// </summary>
|
||
public decimal? Length { get; set; }
|
||
|
||
/// <summary>
|
||
/// 宽度。
|
||
/// </summary>
|
||
public decimal? Width { get; set; }
|
||
|
||
/// <summary>
|
||
/// 高度。
|
||
/// </summary>
|
||
public decimal? Height { get; set; }
|
||
|
||
/// <summary>
|
||
/// 货物类型(单选,兼容旧版;请优先使用 CargoTypes)。
|
||
/// </summary>
|
||
public string? CargoType { get; set; }
|
||
|
||
/// <summary>
|
||
/// 货物类型(多选,字典 cargo_attribute 编码)。
|
||
/// </summary>
|
||
public List<string>? CargoTypes { get; set; }
|
||
|
||
/// <summary>
|
||
/// 仓库主键(多选;为空则遍历全部仓库)。
|
||
/// </summary>
|
||
public List<int>? WarehouseIds { get; set; }
|
||
|
||
/// <summary>
|
||
/// 目的省份。
|
||
/// </summary>
|
||
public string? DestinationProvince { get; set; }
|
||
|
||
/// <summary>
|
||
/// 邮编。
|
||
/// </summary>
|
||
public string? PostalCode { get; set; }
|
||
}
|