admin/src/Oms.Application/Dtos/Orders/OrderPriceCheckInput.cs
zzh e875f0c012 feat: price-check by cargo type and warehouse, customer auto-code, track apiCode
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>
2026-06-29 18:40:10 +08:00

63 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>
/// 订单入参。
/// </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; }
}