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/Good/CoreCmsGoods.cs | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 57 insertions(+), 0 deletions(-) diff --git a/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs b/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs index d8a175d..9c250fc 100644 --- a/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs +++ b/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs @@ -9,7 +9,9 @@ ***********************************************************************/ using System; +using System.ComponentModel; using System.ComponentModel.DataAnnotations; +using Chuanyin.Attribute; using SqlSugar; namespace CoreCms.Net.Model.Entities @@ -17,6 +19,7 @@ /// <summary> /// 鍟嗗搧琛� /// </summary> + [SqlCodeFirst] public partial class CoreCmsGoods { /// <summary> @@ -256,5 +259,59 @@ /// </summary> [SugarColumn(ColumnDescription = "鍖哄煙浠g爜")] public string areaCode { get; set; } + /// <summary> + /// 鍙戝竷鑰卌msUserID + /// </summary> + [SugarColumn(ColumnDescription = "鍙戝竷鑰卌msUserID",IsNullable =true)] + public int? publisherId { get; set; } + + /// <summary> + /// 瀹℃牳鑰呭憳宸YSUserID" + /// </summary> + [SugarColumn(ColumnDescription = "瀹℃牳鑰呭憳宸YSUserID", IsNullable = true)] + public int? approverId { get; set; } + + /// <summary> + /// 瀹℃牳鐘舵�� + /// </summary> + [SugarColumn(ColumnDescription = "瀹℃牳鐘舵��", IsNullable = true)] + public AuditStatusTypoe? auditStatus { get; set; } + + /// <summary> + /// 瀹℃牳鏃堕棿 + /// </summary> + [SugarColumn(ColumnDescription = "瀹℃牳鏃堕棿", IsNullable = true)] + public DateTime? auditTime { get; set; } + } + + /// <summary> + /// 瀹℃牳鐘舵�佹灇涓撅紝鐢ㄤ簬琛ㄧず涓嶅悓涓氬姟娴佺▼涓殑瀹℃牳鐘舵�併�� + /// </summary> + public enum AuditStatusTypoe + { + /// <summary> + /// 寰呭鏍哥姸鎬侊紝琛ㄧず瀹℃牳灏氭湭寮�濮嬨�� + /// </summary> + Pending = 0, + + /// <summary> + /// 宸叉壒鍑嗙姸鎬侊紝琛ㄧず瀹℃牳宸查�氳繃銆� + /// </summary> + Approved = 1, + + /// <summary> + /// 宸叉嫆缁濈姸鎬侊紝琛ㄧず瀹℃牳鏈�氳繃銆� + /// </summary> + Rejected = 2, + + /// <summary> + /// 瀹℃牳杩涜涓姸鎬侊紝琛ㄧず瀹℃牳姝e湪澶勭悊涓�� + /// </summary> + InProgress = 3, + + /// <summary> + /// 宸插彇娑堢姸鎬侊紝琛ㄧず瀹℃牳宸茶鍙栨秷銆� + /// </summary> + Cancelled = 4 } } \ No newline at end of file -- Gitblit v1.9.1