From 78028cee453a5878835a27f884ae36c0900fe8f7 Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期一, 23 九月 2024 08:41:03 +0800
Subject: [PATCH] no message
---
CoreCms.Net.Model/Entities/Good/CoreCmsGoodsPartial.cs | 33 ++++++++++++++++++++++++++++++++-
1 files changed, 32 insertions(+), 1 deletions(-)
diff --git a/CoreCms.Net.Model/Entities/Good/CoreCmsGoodsPartial.cs b/CoreCms.Net.Model/Entities/Good/CoreCmsGoodsPartial.cs
index 2842b3b..36c646c 100644
--- a/CoreCms.Net.Model/Entities/Good/CoreCmsGoodsPartial.cs
+++ b/CoreCms.Net.Model/Entities/Good/CoreCmsGoodsPartial.cs
@@ -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>
/// 鍟嗗搧瑙勬牸
@@ -237,5 +240,33 @@
[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