From c29382ce0b3166a1ac8deea4532d968522e58356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E6=A2=93=E5=BD=AD?= Date: Sat, 18 Jul 2026 13:12:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=B7=BB=E5=8A=A0=E5=A4=87?= =?UTF-8?q?=E6=B3=A8=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YD_Event.Application/Project/Dtos/ProjectDtos.cs | 10 ++++++++++ YD_Event.Application/Project/ProjectService.cs | 1 + YD_Event.Core/Entities/Project.cs | 6 ++++++ 3 files changed, 17 insertions(+) diff --git a/YD_Event.Application/Project/Dtos/ProjectDtos.cs b/YD_Event.Application/Project/Dtos/ProjectDtos.cs index 474f854..a20a624 100644 --- a/YD_Event.Application/Project/Dtos/ProjectDtos.cs +++ b/YD_Event.Application/Project/Dtos/ProjectDtos.cs @@ -80,6 +80,11 @@ public class AddProjectInput /// public int SortIndex { get; set; } + /// + /// 备注 + /// + public string? Remark { get; set; } + /// /// 项目组别列表 /// @@ -194,6 +199,11 @@ public class ProjectDto /// public int SortIndex { get; set; } + /// + /// 备注 + /// + public string? Remark { get; set; } + /// /// 可用状态 /// diff --git a/YD_Event.Application/Project/ProjectService.cs b/YD_Event.Application/Project/ProjectService.cs index fa1243c..3c2ca9a 100644 --- a/YD_Event.Application/Project/ProjectService.cs +++ b/YD_Event.Application/Project/ProjectService.cs @@ -59,6 +59,7 @@ public class ProjectService : BaseService, ITran Fee = p.Fee, DurationMinutes = p.DurationMinutes, DurationSeconds = p.DurationSeconds, + Remark = p.Remark, VenueCount = p.VenueCount, SortIndex = p.SortIndex, Status = p.Status, diff --git a/YD_Event.Core/Entities/Project.cs b/YD_Event.Core/Entities/Project.cs index 5e6ed73..d2647df 100644 --- a/YD_Event.Core/Entities/Project.cs +++ b/YD_Event.Core/Entities/Project.cs @@ -56,6 +56,12 @@ public class Project : Entity, ISoftDelete, ICreatedUserId, ICreatedTime, /// public int DurationSeconds { get; set; } + /// + /// 备注 + /// + [SugarColumn(ColumnDescription = "备注", Length = 500, IsNullable = true)] + public string? Remark { get; set; } + /// /// 场地数量(编排用) ///