From e8fd9aa8a76c638991e60544ccab53e2e5bd5b6a Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 09 九月 2024 14:16:02 +0800
Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/baifenbaishop
---
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsPartial.cs | 50 +++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 43 insertions(+), 7 deletions(-)
diff --git a/CoreCms.Net.Model/Entities/Good/CoreCmsGoodsPartial.cs b/CoreCms.Net.Model/Entities/Good/CoreCmsGoodsPartial.cs
index f07a71c..36c646c 100644
--- a/CoreCms.Net.Model/Entities/Good/CoreCmsGoodsPartial.cs
+++ b/CoreCms.Net.Model/Entities/Good/CoreCmsGoodsPartial.cs
@@ -1,10 +1,10 @@
/***********************************************************************
- * Project: CoreCms
- * ProjectName: 鏍稿績鍐呭绠$悊绯荤粺
- * Web: https://www.corecms.net
- * Author: 澶х伆鐏�
- * Email: jianweie@163.com
- * CreateTime: 2021/1/31 21:45:10
+ * Project: baifenBinfa
+ * ProjectName: 鐧惧垎鍏垫硶绠$悊绯荤粺
+ * Web: http://chuanyin.com
+ * Author:
+ * Email:
+ * CreateTime: 202403/02
* Description: 鏆傛棤
***********************************************************************/
@@ -108,7 +108,10 @@
/// 鍏宠仈SKU
/// </summary>
[SugarColumn(IsIgnore = true)]
- public List<CoreCmsProducts> sku { get; set; } = new();
+ [Navigate(NavigateType.OneToMany, nameof(CoreCmsProducts.goodsId))]
+ public List<CoreCmsProducts> sku { get; set; }
+
+
/// <summary>
/// 鍟嗗搧瑙勬牸
@@ -231,6 +234,39 @@
/// </summary>
[SugarColumn(IsIgnore = true)]
public decimal maxPrice { get; set; } = 0;
+ /// <summary>
+ /// sku鏈�澶т环鏍�
+ /// </summary>
+ [SugarColumn(IsIgnore = true)]
+ public string area { get; set; }
+
+ /// <summary>
+ /// 鏄惁鏈夋敮鎸佸畾鍒剁殑
+ /// </summary>
+ [SugarColumn(IsIgnore = true)]
+ public bool isCustomizable { get; set; }= false;
+
+
+
+
+
+ /// <summary>
+ /// 鍟嗗搧鍒嗙被
+ /// </summary>
+ [Navigate(NavigateType.OneToOne, nameof(goodsCategoryId))]
+ public CoreCmsGoodsCategory? goodsCategory { get; set; }
+
+ /// <summary>
+ /// 鍟嗗搧鍝佺墝
+ /// </summary>
+ [Navigate(NavigateType.OneToOne, nameof(brandId))]
+ public CoreCmsBrand? goodsBrand { get; set; }
+
+ /// <summary>
+ /// 鎵╁睍鍒嗙被
+ /// </summary>
+ [Navigate(NavigateType.OneToMany, nameof(CoreCmsGoodsCategoryExtend.goodsId), nameof(id))]
+ public List<CoreCmsGoodsCategoryExtend>? CategoryExtendIds { get; set; }
}
}
\ No newline at end of file
--
Gitblit v1.9.1