admin/src/Oms.Application/Dtos/Channels/SalesProductSaveInput.cs
zzh b31efc7b56
All checks were successful
Build and Deploy / deploy (push) Successful in 1m26s
feat: 销售产品支持官网封面图上传与门户展示
产品配置可上传 CoverImage,门户精选线路目录返回封面 URL。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-26 13:40:07 +08:00

120 lines
2.7 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.

using Oms.Domain.Shared.Enums;
namespace Oms.Application.Dtos.Channels;
/// <summary>
/// 销售产品保存入参。
/// </summary>
public class SalesProductSaveInput
{
/// <summary>
/// 主键。
/// </summary>
public int? Id { get; set; }
/// <summary>
/// 产品编码。
/// </summary>
public string ProductCode { get; set; } = string.Empty;
/// <summary>
/// 产品名称。
/// </summary>
public string ProductName { get; set; } = string.Empty;
/// <summary>
/// 产品分组。
/// </summary>
public string? ProductGroup { get; set; }
/// <summary>
/// 最小时效。
/// </summary>
public int? MinTimeliness { get; set; }
/// <summary>
/// 最大时效。
/// </summary>
public int? MaxTimeliness { get; set; }
/// <summary>
/// 贸易条款:DDP / DDU。
/// </summary>
public string? TradeTerms { get; set; }
/// <summary>
/// 官网线路排序,数值越小越靠前。
/// </summary>
public int RouteSort { get; set; }
/// <summary>
/// 可选附加服务字典 code JSON 数组。
/// </summary>
public string? AdditionalServices { get; set; }
/// <summary>
/// 系统面单类型(旧枚举字段,兼容展示)。
/// </summary>
public string? CustomerWaybill { get; set; }
/// <summary>
/// 系统面单绑定的标签模板 Id。
/// </summary>
public int? LabelTemplateId { get; set; }
/// <summary>
/// 黑名单分区主键。
/// </summary>
public int? BlacklistAreaId { get; set; }
/// <summary>
/// 偏远分区主键。
/// </summary>
public int? RemoteAreaId { get; set; }
/// <summary>
/// 价格分区主键。
/// </summary>
public int? PriceAreaId { get; set; }
/// <summary>
/// 计重规则主键。
/// </summary>
public int? WeightRuleId { get; set; }
/// <summary>
/// 计重进位规则主键。
/// </summary>
public int? WeightRoundingId { get; set; }
/// <summary>
/// 产品描述。
/// </summary>
public string? ProductDescription { get; set; }
/// <summary>
/// 官网线路封面图 object key。
/// </summary>
public string? CoverImage { get; set; }
/// <summary>
/// 预入库脚本。
/// </summary>
public string? PreStorageScript { get; set; }
/// <summary>
/// 对客说明 Markdown。
/// </summary>
public string? CustomerGuideMarkdown { get; set; }
/// <summary>
/// 是否启用。
/// </summary>
public EnableStatus IsActive { get; set; }
/// <summary>
/// 方案编码。
/// </summary>
public string Scheme { get; set; } = string.Empty;
}