增加项目,分层
This commit is contained in:
1 parent
6e995a5bdb
commit
0a3e5af6a9
234 files changed
+26994
-1
No files matched your search
@@ -0,0 +1,26 @@
|
||||
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-", "");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user