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 |   77 +++++++++++++++++++++++++++++++++++++-
 1 files changed, 75 insertions(+), 2 deletions(-)

diff --git a/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs b/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs
index df75e85..11bc208 100644
--- a/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs
+++ b/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs
@@ -1,15 +1,17 @@
 /***********************************************************************
- *            Project: CoreCms
+ *            Project: baifenBinfa
  *        ProjectName: 鏍稿績鍐呭绠$悊绯荤粺
  *                Web: https://www.corecms.net
  *             Author: 澶х伆鐏�
- *              Email: jianweie@163.com
+ *              Email: 34161541@qq.com
  *         CreateTime: 2021/7/16 1:14:14
  *        Description: 鏆傛棤
  ***********************************************************************/
 
 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>
@@ -251,6 +254,76 @@
         [Display(Name = "鍒濆閿�閲�")]
         [Required(ErrorMessage = "璇疯緭鍏0}")]
         public int initialSales { get; set; }
+        /// <summary>
+        /// 鍖哄煙浠g爜
+        /// </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