admin/src/Oms.Application/Dtos/Orders/OrderPriceCheckHintOutput.cs
zzh 3d5eaa223a feat: 小包全链路加固、待排货与运单号 IDE 前缀
查价/下单/入库/出库统一校验与计费上下文;待排货状态及可选入库排货;运单号改为 IDE+yyMMddHHmmss;补充迁移 SQL 与测试修复。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 19:00:55 +08:00

33 lines
942 B
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 OrderPriceCheckHintOutput
{
/// <summary>
/// 报价精度:exact=条件较完整;estimated=含估算项,仅供参考。
/// </summary>
public string QuoteLevel { get; set; } = PriceCheckQuoteLevelCodes.Exact;
/// <summary>
/// 缺失或未指定的入参字段编码(dimensions/postalCode/cargoType/warehouse 等)。
/// </summary>
public List<string> MissingFieldCodes { get; set; } = [];
/// <summary>
/// 面向客户的提示文案。
/// </summary>
public List<string> Disclaimers { get; set; } = [];
}
/// <summary>
/// 查价报价精度。
/// </summary>
public static class PriceCheckQuoteLevelCodes
{
public const string Exact = "exact";
public const string Estimated = "estimated";
}