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 | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CoreCms.Net.Model/Entities/Cart/CoreCmsCart.cs b/CoreCms.Net.Model/Entities/Cart/CoreCmsCart.cs index cf55b43..80a1550 100644 --- a/CoreCms.Net.Model/Entities/Cart/CoreCmsCart.cs +++ b/CoreCms.Net.Model/Entities/Cart/CoreCmsCart.cs @@ -1,14 +1,15 @@ /*********************************************************************** - * Project: CoreCms - * ProjectName: 鏍稿績鍐呭绠$悊绯荤粺 - * Web: https://www.corecms.net - * Author: 澶х伆鐏� - * Email: jianweie@163.com + * Project: baifenBinfa + * ProjectName: 鐧惧垎鍏垫硶绠$悊绯荤粺 + * Web: http://chuanyin.com + * Author: + * Email: * CreateTime: 2021/10/18 9:26:42 * Description: 鏆傛棤 ***********************************************************************/ 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