Files
KJD/Store.Product/Models/Product/Sku/SkuMapProperty.cs
T
2026-09-11 19:11:12 +08:00

27 lines
579 B
C#

namespace Store.Product.Models.Product.Sku
{
/// <summary>
/// SkuMap 属性
/// </summary>
public class SkuMapProperty : Property
{
public SkuPropertyItem Item { get; set; }
public override string ToString()
{
return $"{Name}:{Item.Name}";
}
/// <summary>
/// 属性Key
/// </summary>
/// <returns></returns>
public string SalePropKey
{
get
{
return (Id + "-" + Item.Id).Replace("p-", "");
}
}
}
}