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; } + /// /// 场地数量(编排用) ///