mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 21:03:26 +08:00
【新增】商品详情新增sku价格区间展示,如【¥100~395】,选中单个sku后自动变更其具体价格
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using CoreCms.Net.Model.FromBody;
|
||||
using SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
@@ -108,6 +109,11 @@ namespace CoreCms.Net.Model.Entities
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsProducts> sku { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// 商品规格
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public Dictionary<string, Dictionary<string, DefaultSpesDesc>> specification { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// 是否收藏
|
||||
@@ -176,5 +182,19 @@ namespace CoreCms.Net.Model.Entities
|
||||
[SugarColumn(IsIgnore = true)] public DateTime groupEndTime { get; set; }
|
||||
|
||||
[SugarColumn(IsIgnore = true)] public int groupTimestamp { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// sku最小价格
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public decimal minPrice { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// sku最大价格
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public decimal maxPrice { get; set; } = 0;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user