package com.ruoyi.safe.dto; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.basic.dto.StorageBlobDTO; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.time.LocalDate; import java.time.LocalDateTime; import java.util.List; @Data @Schema(name = "SafeLineInspectionExecuteDto", description = "线路巡检执行入参") public class SafeLineInspectionExecuteDto { @Schema(description = "巡检记录实例ID") private Integer inspectionId; @Schema(description = "巡检结果(正常/异常)") private String checkResult; @Schema(description = "巡检说明") private String checkDesc; @Schema(description = "巡检时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime checkTime; @Schema(description = "现场照片") private List storageBlobDTOs; @Schema(description = "隐患类型") private String hiddenType; @Schema(description = "隐患风险等级") private String riskLevel; @Schema(description = "隐患位置") private String hazardLocation; @Schema(description = "异常描述/整改要求") private String hazardDesc; @Schema(description = "整改责任人ID") private Integer rectifyUserId; @Schema(description = "整改责任人手机号") private String rectifyUserMobile; @Schema(description = "整改完成期限") @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate rectifyTime; }