From 8f15bde91d8caec3e6d49baee20add6124342bae Mon Sep 17 00:00:00 2001 From: LiuXin Date: Tue, 25 Nov 2025 10:50:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SunPlaceBoardWorkOrderResDto.cs | 36 +++++++++++-------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/WeiCloud.Fusion/Common.SharedService/Common.Shared.Application/SafetyFirePro/ResponseDto/SunPlaceBoardWorkOrderResDto.cs b/WeiCloud.Fusion/Common.SharedService/Common.Shared.Application/SafetyFirePro/ResponseDto/SunPlaceBoardWorkOrderResDto.cs index d70ade4..2fd9edc 100644 --- a/WeiCloud.Fusion/Common.SharedService/Common.Shared.Application/SafetyFirePro/ResponseDto/SunPlaceBoardWorkOrderResDto.cs +++ b/WeiCloud.Fusion/Common.SharedService/Common.Shared.Application/SafetyFirePro/ResponseDto/SunPlaceBoardWorkOrderResDto.cs @@ -400,13 +400,19 @@ namespace Common.Shared.Application.SafetyFirePro.ResponseDto /// 计划结束时间 /// [JsonPropertyName("end_at")] - public string End_at { get; set; } + public string? End_at { get; set; } + + /// + /// 计划开始时间 + /// + [JsonPropertyName("real_start_at")] + public string? Real_start_at { get; set; } /// /// 实际结束时间 /// [JsonPropertyName("finish_time")] - public string Finish_time { get; set; } + public string? Finish_time { get; set; } /// /// 作业ID @@ -418,31 +424,25 @@ namespace Common.Shared.Application.SafetyFirePro.ResponseDto /// 作业名称 /// [JsonPropertyName("name")] - public string Name { get; set; } + public string? Name { get; set; } /// /// 作业编号 /// [JsonPropertyName("number")] - public string Number { get; set; } + public string? Number { get; set; } /// /// 作业人员信息 /// [JsonPropertyName("operators")] - public List Operators { get; set; } + public List Operators { get; set; } = []; /// /// 作业负责人信息 /// [JsonPropertyName("principal_info")] - public PrincipalInfo Principal_info { get; set; } - - /// - /// 实际开始作业时间 - /// - [JsonPropertyName("real_start_at")] - public string Real_start_at { get; set; } + public PrincipalInfo Principal_info { get; set; } = new PrincipalInfo(); /// /// 作业地点id @@ -454,19 +454,19 @@ namespace Common.Shared.Application.SafetyFirePro.ResponseDto /// 作业地点信息 /// [JsonPropertyName("region")] - public Region Region { get; set; } + public Region Region { get; set; } = new Region(); /// /// 作业检查信息 /// [JsonPropertyName("Supervises")] - public List Supervises { get; set; } + public List Supervises { get; set; } = []; /// /// 作业计划开始时间 /// [JsonPropertyName("start_at")] - public string Start_at { get; set; } + public string? Start_at { get; set; } /// /// 作业状态 @@ -491,6 +491,12 @@ namespace Common.Shared.Application.SafetyFirePro.ResponseDto [JsonPropertyName("name")] public string Name { get; set; } + + /// + /// 创建时间 + /// + [JsonPropertyName("created_at")] + public string? Created_at { get; set; } } public class ApprovalTask