From f43970a061d3c90520b4e8f48caa17a204d9a085 Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期四, 15 八月 2024 10:19:38 +0800 Subject: [PATCH] 完供应商自主维护商品api和后台基础管理页面 --- CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs | 69 ++++++++++++++++++++++++++++++++++ 1 files changed, 69 insertions(+), 0 deletions(-) diff --git a/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs b/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs index d8a175d..11bc208 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,71 @@ /// </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 AuditStatusType? auditStatus { get; set; } + + /// <summary> + /// 瀹℃牳鏃堕棿 + /// </summary> + [SugarColumn(ColumnDescription = "瀹℃牳鏃堕棿", IsNullable = true)] + public DateTime? auditTime { get; set; } + + + /// <summary> + /// 鎷掔粷鍘熷洜 + /// </summary> + [SugarColumn(ColumnDescription = "鎷掔粷鍘熷洜", IsNullable = true,Length =int.MaxValue)] + public string? auditRejectedReason { get; set; } + } + + /// <summary> + /// 瀹℃牳鐘舵�佹灇涓撅紝鐢ㄤ簬琛ㄧず涓嶅悓涓氬姟娴佺▼涓殑瀹℃牳鐘舵�併�� + /// </summary> + public enum AuditStatusType + { + /// <summary> + /// 寰呭鏍哥姸鎬侊紝琛ㄧず瀹℃牳灏氭湭寮�濮嬨�� + /// </summary> + [Description("鏈鏍�")] + Pending = 0, + + /// <summary> + /// 宸叉壒鍑嗙姸鎬侊紝琛ㄧず瀹℃牳宸查�氳繃銆� + /// </summary> + [Description("宸插鏍�")] + Approved = 1, + + /// <summary> + /// 宸叉嫆缁濈姸鎬侊紝琛ㄧず瀹℃牳鏈�氳繃銆� + /// </summary> + [Description("宸叉嫆缁�")] + Rejected = 2, + + /// <summary> + /// 瀹℃牳杩涜涓姸鎬侊紝琛ㄧず瀹℃牳姝e湪澶勭悊涓�� + /// </summary> + [Description("瀹℃牳杩涜涓�")] + InProgress = 3, + + /// <summary> + /// 宸插彇娑堢姸鎬侊紝琛ㄧず瀹℃牳宸茶鍙栨秷銆� + /// </summary> + [Description("鍙栨秷")] + Cancelled = 4 } } \ No newline at end of file -- Gitblit v1.9.1