fix 映射字段补充

This commit is contained in:
2025-02-25 17:28:20 +08:00
parent 25b2d7d1ef
commit 59d0fe23fb
4 changed files with 42 additions and 25 deletions

View File

@@ -28,4 +28,9 @@ public class WorkGridPageResponse
/// 备注
/// </summary>
public string Remark { get; set; }
/// <summary>
/// 用户数量
/// </summary>
public int UserCount { get; set; }
}

View File

@@ -1,5 +1,7 @@
using Dlhis.Entity.Basic.Enums;
using Kurisu.AspNetCore.Utils.Converters;
using Kurisu.AspNetCore.Utils.Extensions;
using Newtonsoft.Json;
namespace Dlhis.Basic.WorkGrids.Response;
@@ -30,12 +32,14 @@ public class WorkGridTimePeriodPageResponse
/// <summary>
/// 开始时间
/// </summary>
public TimeOnly Start { get; set; }
[JsonConverter(typeof(ToDateJsonConverter))]
public DateTime Start { get; set; }
/// <summary>
/// 结束时间
/// </summary>
public TimeOnly End { get; set; }
[JsonConverter(typeof(ToDateJsonConverter))]
public DateTime End { get; set; }
/// <summary>
/// 配置描述