From 71e821ab5e6b3014fac9b691d6957bcc09704b70 Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期三, 29 五月 2024 11:45:04 +0800 Subject: [PATCH] 修改定制封面逻辑 --- CoreCms.Net.Model/Entities/Cart/CoreCmsCart.cs | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/CoreCms.Net.Model/Entities/Cart/CoreCmsCart.cs b/CoreCms.Net.Model/Entities/Cart/CoreCmsCart.cs index b728e5b..80a1550 100644 --- a/CoreCms.Net.Model/Entities/Cart/CoreCmsCart.cs +++ b/CoreCms.Net.Model/Entities/Cart/CoreCmsCart.cs @@ -9,6 +9,7 @@ ***********************************************************************/ using System.ComponentModel.DataAnnotations; +using Chuanyin.Attribute; using SqlSugar; namespace CoreCms.Net.Model.Entities @@ -16,6 +17,7 @@ /// <summary> /// 璐墿杞﹁〃 /// </summary> + [SqlCodeFirst] public class CoreCmsCart { /// <summary> @@ -77,5 +79,11 @@ public int objectId { get; set; } + + /// <summary> + /// 鏄惁瀹氬埗 + /// </summary> + [SugarColumn(IsNullable =true)] + public bool isCustomizable { get; set; }=false; } } \ No newline at end of file -- Gitblit v1.9.1