From 97ac729c2bef48ec6dfceb58e98593fe463c8a6d Mon Sep 17 00:00:00 2001
From: 小飞侠 <8277136+liaoxujun@user.noreply.gitee.com>
Date: 星期五, 19 九月 2025 10:41:30 +0800
Subject: [PATCH] 增加时间筛选字段
---
CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs b/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs
index 9c250fc..27d67c6 100644
--- a/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs
+++ b/CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs
@@ -19,7 +19,7 @@
/// <summary>
/// 鍟嗗搧琛�
/// </summary>
- [SqlCodeFirst]
+
public partial class CoreCmsGoods
{
/// <summary>
@@ -275,43 +275,55 @@
/// 瀹℃牳鐘舵��
/// </summary>
[SugarColumn(ColumnDescription = "瀹℃牳鐘舵��", IsNullable = true)]
- public AuditStatusTypoe? auditStatus { get; set; }
+ 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 AuditStatusTypoe
+ 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