项目添加备注字段

This commit is contained in:
马梓彭 2026-07-18 13:12:58 +08:00
parent ea66510480
commit c29382ce0b
3 changed files with 17 additions and 0 deletions

View File

@ -80,6 +80,11 @@ public class AddProjectInput
/// </summary>
public int SortIndex { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? Remark { get; set; }
/// <summary>
/// 项目组别列表
/// </summary>
@ -194,6 +199,11 @@ public class ProjectDto
/// </summary>
public int SortIndex { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? Remark { get; set; }
/// <summary>
/// 可用状态
/// </summary>

View File

@ -59,6 +59,7 @@ public class ProjectService : BaseService<YD_Event.Core.Entities.Project>, ITran
Fee = p.Fee,
DurationMinutes = p.DurationMinutes,
DurationSeconds = p.DurationSeconds,
Remark = p.Remark,
VenueCount = p.VenueCount,
SortIndex = p.SortIndex,
Status = p.Status,

View File

@ -56,6 +56,12 @@ public class Project : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime,
/// </summary>
public int DurationSeconds { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnDescription = "备注", Length = 500, IsNullable = true)]
public string? Remark { get; set; }
/// <summary>
/// 场地数量(编排用)
/// </summary>