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/Order/CoreCmsOrderItem.cs | 28 +++++++++++++++++++++------- 1 files changed, 21 insertions(+), 7 deletions(-) diff --git a/CoreCms.Net.Model/Entities/Order/CoreCmsOrderItem.cs b/CoreCms.Net.Model/Entities/Order/CoreCmsOrderItem.cs index b22c403..3f20306 100644 --- a/CoreCms.Net.Model/Entities/Order/CoreCmsOrderItem.cs +++ b/CoreCms.Net.Model/Entities/Order/CoreCmsOrderItem.cs @@ -1,12 +1,13 @@ /*********************************************************************** - * Project: CoreCms - * ProjectName: 鏍稿績鍐呭绠$悊绯荤粺 - * Web: https://www.corecms.net - * Author: 澶х伆鐏� - * Email: jianweie@163.com - * CreateTime: 2021-06-08 22:14:58 + * Project: baifenBinfa + * ProjectName: 鐧惧垎鍏垫硶绠$悊绯荤粺 + * Web: http://chuanyin.com + * Author: + * Email: 34161541@qq.com + * CreateTime: 2024-03-01 22:14:58 * Description: 鏆傛棤 -***********************************************************************/ +***********************************************************************/ +using Chuanyin.Attribute; using SqlSugar; using System.ComponentModel.DataAnnotations; @@ -16,6 +17,7 @@ /// 璁㈠崟鏄庣粏琛� /// </summary> [SugarTable("CoreCmsOrderItem",TableDescription = "璁㈠崟鏄庣粏琛�")] + [SqlCodeFirst] public partial class CoreCmsOrderItem { /// <summary> @@ -166,5 +168,17 @@ [Display(Name = "鏇存柊鏃堕棿")] [SugarColumn(ColumnDescription = "鏇存柊鏃堕棿", IsNullable = true)] public System.DateTime? updateTime { get; set; } + + /// <summary> + /// 瀹氬埗璐� + /// </summary> + [SugarColumn(ColumnDescription = "瀹氬埗璐�", IsNullable = true)] + public decimal? CustomizableMoney { get; set; } + + /// <summary> + /// 鏄惁瀹氬埗 + /// </summary> + [SugarColumn(ColumnDescription = "鏄惁瀹氬埗", IsNullable = true)] + public bool? IsCustomizable { get; set; } } } \ No newline at end of file -- Gitblit v1.9.1