From 306ab8865840b2637590abb6e670e5614446f24d Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期二, 30 七月 2024 13:27:31 +0800 Subject: [PATCH] 增加商品字段,订单字段 --- CoreCms.Net.Model/Entities/Order/CoreCmsOrder.cs | 67 ++++++++++++++++++++++----------- 1 files changed, 45 insertions(+), 22 deletions(-) diff --git a/CoreCms.Net.Model/Entities/Order/CoreCmsOrder.cs b/CoreCms.Net.Model/Entities/Order/CoreCmsOrder.cs index 43a1c9d..e0665d8 100644 --- a/CoreCms.Net.Model/Entities/Order/CoreCmsOrder.cs +++ b/CoreCms.Net.Model/Entities/Order/CoreCmsOrder.cs @@ -1,13 +1,14 @@ /*********************************************************************** - * Project: CoreCms + * Project: baifenBinfa * ProjectName: 鐧惧垎鍏垫硶绠$悊绯荤粺 - * Web: hhtp://chuanyin.com + * Web: http://chuanyin.com * Author: * Email: * CreateTime: 2021/10/18 11:51:30 * Description: 鏆傛棤 ***********************************************************************/ +using Chuanyin.Attribute; using SqlSugar; using System.ComponentModel; using System.ComponentModel.DataAnnotations; @@ -17,6 +18,7 @@ /// <summary> /// 璁㈠崟琛� /// </summary> + [SqlCodeFirst] public partial class CoreCmsOrder { /// <summary> @@ -175,11 +177,9 @@ /// <summary> /// 閰嶉�佹柟寮忓悕绉� /// </summary> - [Display(Name = "閰嶉�佹柟寮忓悕绉�")] - + [Display(Name = "閰嶉�佹柟寮忓悕绉�")] - [StringLength(maximumLength:50,ErrorMessage = "{0}涓嶈兘瓒呰繃{1}瀛�")] - + [StringLength(maximumLength:50,ErrorMessage = "{0}涓嶈兘瓒呰繃{1}瀛�")] public System.String logisticsName { get; set; } @@ -221,7 +221,7 @@ /// <summary> - /// 鍞悗鐘舵�� + /// 鏀惰揣鐘舵�� /// </summary> [Display(Name = "鍞悗鐘舵��")] @@ -278,8 +278,13 @@ public System.String shipAddress { get; set; } - - + + /// <summary> + /// 鏀惰揣鍦板潃瀹氫綅 + /// </summary> + [Display(Name = "鏀惰揣鍦板潃瀹氫綅")] + [SugarColumn(ColumnDescription = "鏀惰揣鍦板潃瀹氫綅",IsNullable = true)] + public System.String shipCoordinate { get; set; } /// <summary> /// 鏀惰揣浜哄鍚� /// </summary> @@ -416,12 +421,7 @@ /// 浼樻儬鍒镐俊鎭� /// </summary> [Display(Name = "浼樻儬鍒镐俊鎭�")] - - - - - - public System.String coupon { get; set; } + public System.String coupon { get; set; } /// <summary> @@ -548,13 +548,36 @@ /// 鏇存柊鏃堕棿 /// </summary> [Display(Name = "鏇存柊鏃堕棿")] - - - - - public System.DateTime? updateTime { get; set; } - - + + + + + /// <summary> + /// 璁″垝璁㈠崟id ALTER TABLE [CoreCmsOrder] ADD [planorderId] [nvarchar](255) NULL; + /// </summary> + [Display(Name = "璁″垝璁㈠崟id")] + + [StringLength(maximumLength: 255, ErrorMessage = "{0}涓嶈兘瓒呰繃{1}瀛�")] + [SugarColumn(IsNullable = true)] + + public System.String planorderId { get; set; } + + + + /// <summary> + /// 鍙戝竷鑰卌msUserID + /// </summary> + [SugarColumn(ColumnDescription = "鍙戝竷鑰卌msUserID", IsNullable = true)] + public int? publisherId { get; set; } + + /// <summary> + /// 鍘熻鍗旾D + /// </summary> + [SugarColumn(ColumnDescription = "鍘熻鍗旾D", IsNullable = true)] + public string oldOderId { get; set; } + + + } } -- Gitblit v1.9.1