| package com.doumee.dao.business.model; | 
|   | 
| import com.baomidou.mybatisplus.annotation.TableField; | 
| import com.doumee.core.annotation.excel.ExcelColumn; | 
| import com.doumee.core.model.LoginUserModel; | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import com.baomidou.mybatisplus.annotation.IdType; | 
| import com.baomidou.mybatisplus.annotation.TableId; | 
| import com.baomidou.mybatisplus.annotation.TableName; | 
| import lombok.Data; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import java.util.Date; | 
|   | 
| /** | 
|  * 运维巡检任务信息表 | 
|  * @author 江蹄蹄 | 
|  * @date 2024/11/19 16:07 | 
|  */ | 
| @Data | 
| @ApiModel("运维巡检任务信息表") | 
| @TableName("`yw_patrol_task`") | 
| public class YwPatrolTask  extends LoginUserModel { | 
|   | 
|     @TableId(type = IdType.AUTO) | 
|     @ApiModelProperty(value = "主键", example = "1") | 
|     private Integer id; | 
|   | 
|     @ApiModelProperty(value = "创建人编码", example = "1") | 
|     private Integer creator; | 
|   | 
|     @ApiModelProperty(value = "创建时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date createDate; | 
|   | 
|     @ApiModelProperty(value = "更新人编码", example = "1") | 
|     private Integer editor; | 
|   | 
|     @ApiModelProperty(value = "更新时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date editDate; | 
|   | 
|     @ApiModelProperty(value = "是否删除0否 1是", example = "1") | 
|     private Integer isdeleted; | 
|   | 
|     @ApiModelProperty(value = "标题") | 
|     private String title; | 
|   | 
|     @ApiModelProperty(value = "任务编码") | 
|     @ExcelColumn(name="任务编号",index = 2,width = 6) | 
|     private String code; | 
|   | 
|     @ApiModelProperty(value = "备注") | 
|     private String remark; | 
|   | 
|     @ApiModelProperty(value = "状态 0待开始 1进行中 2已超期 3已完成 4已取消", example = "1") | 
|     @ExcelColumn(name="执行结果",index = 7,width = 6,valueMapping = "0=待开始;1=进行中;2=已超期;3=已完成;") | 
|     private Integer status; | 
|   | 
|     @ApiModelProperty(value = "排序码", example = "1") | 
|     private Integer sortnum; | 
|   | 
|     @ApiModelProperty(value = "巡检计划编码(关联yw_patrol_scheme)", example = "1") | 
|     private Integer schemeId; | 
|   | 
|     @ApiModelProperty(value = "巡检点编码(关联yw_patrol_point)", example = "1") | 
|     private Integer pointId; | 
|   | 
|     @ApiModelProperty(value = "处理人编码(关联system_user)", example = "1") | 
|     private Integer dealUserId; | 
|   | 
|     @ApiModelProperty(value = "处理时间") | 
|     @ExcelColumn(name="实际完成时间",index = 5,width = 10,dateFormat = "yyyy-MM-dd HH:mm:ss") | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     private Date dealDate; | 
|   | 
|     @ApiModelProperty(value = "处理备注") | 
|     private String dealInfo; | 
|   | 
|     @ApiModelProperty(value = "循环周期  0每天 1每周 2每天", example = "1") | 
|     private Integer circleType; | 
|   | 
|     @ApiModelProperty(value = "开始日期") | 
|     @ExcelColumn(name="开始日期",index = 3,width = 10,dateFormat = "yyyy-MM-dd HH:mm:ss") | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     private Date startDate; | 
|   | 
|     @ApiModelProperty(value = "结束日期") | 
|     @ExcelColumn(name="结束日期",index = 4,width = 10,dateFormat = "yyyy-MM-dd HH:mm:ss") | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     private Date endDate; | 
|   | 
|     @ApiModelProperty(value = "巡检结果  0正常 1异常", example = "1") | 
|     private Integer dealStatus; | 
|   | 
|     @ApiModelProperty(value = "计划标题") | 
|     @ExcelColumn(name="计划名称",index = 0,width = 6) | 
|     @TableField(exist = false) | 
|     private String planTitle; | 
|   | 
|     @ApiModelProperty(value = "执行人") | 
|     @ExcelColumn(name="执行人",index = 6,width = 6) | 
|     @TableField(exist = false) | 
|     private String userName; | 
|   | 
|   | 
|     @ApiModelProperty(value = "任务状态:多个以,分割 0待开始 1进行中 2已超期 3已完成 4已取消") | 
|     @TableField(exist = false) | 
|     private String queryStatus; | 
|   | 
|     @ApiModelProperty(value = "计划编号") | 
|     @ExcelColumn(name="计划编号",index = 1,width = 6) | 
|     @TableField(exist = false) | 
|     private String planCode; | 
|   | 
|     @ApiModelProperty(value = "巡检点总数") | 
|     @TableField(exist = false) | 
|     private String patrolNum; | 
|   | 
|     @ApiModelProperty(value = "已巡检数量") | 
|     @TableField(exist = false) | 
|     private String finishNum; | 
|   | 
|     @ApiModelProperty(value = "序号" , hidden = true) | 
|     @TableField(exist = false) | 
|     private Integer codeSn; | 
| } |