admin/src/Oms.Domain/WarehouseAggregate/Entities/CSku.cs
zzh ca95e19186
All checks were successful
Build and Deploy / deploy (push) Successful in 1m0s
feat: SKU/预报下游申报明细带产品标识编码三字段
库内 SKU 与 createOrderOne items 对齐 productId/nonStdProductId/stdProductId;无值时仍序列化为 null。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 11:19:12 +08:00

55 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.

using Oms.Domain.Shared;
using SqlSugar;
namespace Oms.Domain.WarehouseAggregate.Entities;
[SugarTable(WarehouseTableNames.Sku)]
public class CSku : OmsAuditedAggregateRoot
{
public int CustomerId { get; set; }
public string SkuCode { get; set; } = string.Empty;
public string SkuName { get; set; } = string.Empty;
public string? SkuNameEn { get; set; }
public string? SkuImageUrl { get; set; }
public decimal? UnitPrice { get; set; }
public string? ExHsCode { get; set; }
public string? ImHsCode { get; set; }
/// <summary>
/// 出口申报要素。
/// </summary>
public string? DeclareElement { get; set; }
/// <summary>
/// 产品标识编码。
/// </summary>
public string? ProductId { get; set; }
/// <summary>
/// 非标产品标识编码。
/// </summary>
public string? NonStdProductId { get; set; }
/// <summary>
/// 标准产品标识编码(如 GTIN / UPC / EAN)。
/// </summary>
public string? StdProductId { get; set; }
public decimal? WeightG { get; set; }
public decimal? LengthCm { get; set; }
public decimal? WidthCm { get; set; }
public decimal? HeightCm { get; set; }
public string? Remark { get; set; }
}