实现中文公式预报前拦截、规则测试 API 及按销售产品分组返回查价运输方式选项。 Co-authored-by: Cursor <cursoragent@cursor.com>
39 lines
1.0 KiB
C#
39 lines
1.0 KiB
C#
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;
|
||
}
|