admin/src/Oms.Application/Dtos/Orders/OrderPriceCheckShippingOptionsOutput.cs
zzh 43563b727f feat: 自动触发公式引擎与查价运输方式分组接口
实现中文公式预报前拦截、规则测试 API 及按销售产品分组返回查价运输方式选项。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-09 18:36:17 +08:00

39 lines
1.0 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 OrderPriceCheckShippingOptionsOutput
{
public List<OrderPriceCheckShippingGroupOutput> Groups { get; set; } = [];
}
public class OrderPriceCheckShippingGroupOutput
{
/// <summary>
/// 分组编码(字典 sales_product_group.dictCode)。
/// </summary>
public string GroupCode { get; set; } = string.Empty;
/// <summary>
/// 分组名称(字典 sales_product_group.dictName)。
/// </summary>
public string GroupName { get; set; } = string.Empty;
public List<OrderPriceCheckShippingOptionOutput> Products { get; set; } = [];
}
public class OrderPriceCheckShippingOptionOutput
{
public int ProductId { get; set; }
public string ProductCode { get; set; } = string.Empty;
public string ProductName { get; set; } = string.Empty;
/// <summary>
/// 下拉展示文案。
/// </summary>
public string Label { get; set; } = string.Empty;
}