package com.ruoyi.envaccess.pojo; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.dto.DateQueryDto; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; import java.time.LocalDateTime; import java.util.Date; /** * 环保门禁--智能巡检台账 * env_inspection */ @TableName(value = "env_inspection") @Data public class EnvInspection extends DateQueryDto implements Serializable { private static final long serialVersionUID = 1L; @TableId(type = IdType.AUTO) private Long id; @Excel(name = "巡检名称") private String inspectionName; /** * 1定期 2临时 3故障 */ @Excel(name = "巡检类型", readConverterExp = "1=定期巡检,2=临时巡检,3=故障巡检") private Integer inspectionType; @Excel(name = "巡检路径规划") private String routePlan; @Excel(name = "巡检区域") private String area; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "计划开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") private Date planStartTime; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "计划结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") private Date planEndTime; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "实际开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") private Date actualStartTime; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Excel(name = "实际结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") private Date actualEndTime; @Excel(name = "巡检人员") private String inspector; @Excel(name = "巡检结果") private String inspectionResult; @ApiModelProperty(value = "AI视频分析结果(预留)") private String aiAnalysis; @ApiModelProperty(value = "无人机/机器人回传数据(预留)") private String uavData; @ApiModelProperty(value = "自动生成巡检报告") private String reportPath; /** * 0待执行 1执行中 2已完成 3已取消 */ @Excel(name = "状态", readConverterExp = "0=待执行,1=执行中,2=已完成,3=已取消") private Integer status; @Excel(name = "备注") private String remark; @ApiModelProperty(value = "创建时间") @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; @ApiModelProperty(value = "创建用户") @TableField(fill = FieldFill.INSERT) private Integer createUser; @ApiModelProperty(value = "修改时间") @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; @ApiModelProperty(value = "修改用户") @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; @ApiModelProperty(value = "租户ID") @TableField(fill = FieldFill.INSERT) private Long tenantId; }