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 | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CoreCms.Net.Model/Entities/Cart/CoreCmsCart.cs b/CoreCms.Net.Model/Entities/Cart/CoreCmsCart.cs index 13ff986..80a1550 100644 --- a/CoreCms.Net.Model/Entities/Cart/CoreCmsCart.cs +++ b/CoreCms.Net.Model/Entities/Cart/CoreCmsCart.cs @@ -1,7 +1,7 @@ /*********************************************************************** - * Project: CoreCms + * Project: baifenBinfa * ProjectName: 鐧惧垎鍏垫硶绠$悊绯荤粺 - * Web: hhtp://chuanyin.com + * Web: http://chuanyin.com * Author: * Email: * CreateTime: 2021/10/18 9:26:42 @@ -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