| | |
| | | package com.ycl.platform.domain.vo; |
| | | |
| | | import annotation.Excel; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ycl.platform.base.AbsVo; |
| | | import com.ycl.platform.domain.entity.Report; |
| | | import java.util.List; |
| | | import java.time.LocalDateTime; |
| | | import org.springframework.lang.NonNull; |
| | | import org.springframework.beans.BeanUtils; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.experimental.Accessors; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.lang.NonNull; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 报备展示 |
| | |
| | | |
| | | /** 运维单位ID */ |
| | | private Integer unitId; |
| | | @Excel(name = "运维单位") |
| | | private String unitName; |
| | | |
| | | /** 运维人员ID */ |
| | | private Integer peopleId; |
| | | private String peopleName; |
| | | |
| | | /** 点位ID */ |
| | | private Integer pointId; |
| | | /** 设备编码 */ |
| | | private String serialNumber; |
| | | |
| | | private String pointId; |
| | | |
| | | @Excel(name = "点位") |
| | | private String pointName; |
| | | |
| | | /** 报备类型 */ |
| | | @Excel(name = "报备类型") |
| | | private String reportType; |
| | | |
| | | /** 审核时间 */ |
| | | private LocalDateTime auditingTime; |
| | | |
| | | /** 报备内容 */ |
| | | @Excel(name = "报备内容") |
| | | private String reportContent; |
| | | |
| | | /** 上报材料 */ |
| | | private String reportMaterials; |
| | | |
| | | /** 故障类型 */ |
| | | @Excel(name = "故障类型") |
| | | private String errorType; |
| | | |
| | | private List<String> errorTypeList; |
| | | |
| | | /** |
| | | * 审核结果 |
| | | */ |
| | | private Boolean result; |
| | | |
| | | @Excel(name = "审核状态") |
| | | private String resultStr; |
| | | |
| | | /** |
| | | * 审核意见 |
| | | */ |
| | | @Excel(name = "审核意见") |
| | | private String resultRemark; |
| | | |
| | | /** 审核时间 */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date auditingTime; |
| | | |
| | | /** |
| | | * 生效时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date beginCreateTime; |
| | | |
| | | /** |
| | | * 失效时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date endCreateTime; |
| | | |
| | | /** |
| | | * 状态 |
| | | */ |
| | | private Integer status; |
| | | |
| | | /** |
| | | * 批量导入批次号 |
| | | */ |
| | | private String importBatchNumber; |
| | | |
| | | public static ReportVO getVoByEntity(@NonNull Report entity, ReportVO vo) { |
| | | if(vo == null) { |
| | | vo = new ReportVO(); |