gongchunyi
5 天以前 cecd7580b5e629173bdb5b258f2676d16d580f72
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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<StorageBlobDTO> 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;
}