admin/src/Oms.Application/Services/Orders/ParcelQuoteContext.cs
zzh c8107cb565 feat: add additional-service billing, conditions, and fee lifecycle hardening
Support optional services and executable billing conditions on sell/buy prices, percent-of-value and percent-of-freight formulas, place-order/inbound payable on chargeable weight, outbound receivable freeze, channel remote areas, billing simulate, and insurance-aware claims.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 18:04:28 +08:00

48 lines
1.2 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.Services.Orders;
/// <summary>
/// 查价/试算用的地址与件重尺上下文(不落库)。
/// </summary>
internal sealed class ParcelQuoteContext
{
public string CountryCode { get; init; } = string.Empty;
public string? Province { get; init; }
public string? City { get; init; }
public string? PostalCode { get; init; }
public string CargoAttribute { get; init; } = string.Empty;
/// <summary>查价入参原始货物类型编码(字典 cargo_attribute)。</summary>
public string? CargoTypeCode { get; init; }
public int? WarehouseId { get; init; }
public string? WarehouseName { get; init; }
public decimal Length { get; init; }
public decimal Width { get; init; }
public decimal Height { get; init; }
public decimal ActualWeight { get; init; }
/// <summary>
/// 勾选附加服务字典 code。
/// </summary>
public List<string>? AdditionalServices { get; init; }
/// <summary>
/// 申报总金额。
/// </summary>
public decimal? DeclaredSum { get; init; }
/// <summary>
/// 申报币种。
/// </summary>
public string? DeclaredCurrency { get; init; }
}