|
|
@ -1,10 +1,12 @@ |
|
|
|
package com.hnac.hzinfo.inspect.task.entity; |
|
|
|
package com.hnac.hzinfo.inspect.task.entity; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.SqlCondition; |
|
|
|
import com.baomidou.mybatisplus.annotation.TableField; |
|
|
|
import com.baomidou.mybatisplus.annotation.TableField; |
|
|
|
import com.baomidou.mybatisplus.annotation.TableName; |
|
|
|
import com.baomidou.mybatisplus.annotation.TableName; |
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat; |
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat; |
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
|
|
|
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
|
|
|
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
|
|
|
|
|
|
|
import org.springblade.core.mp.support.QueryField; |
|
|
|
import io.swagger.annotations.ApiModel; |
|
|
|
import io.swagger.annotations.ApiModel; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
import lombok.Data; |
|
|
|
import lombok.Data; |
|
|
@ -32,21 +34,25 @@ public class TaskEntity extends TenantEntity { |
|
|
|
* 计划ID |
|
|
|
* 计划ID |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ApiModelProperty(value = "计划ID") |
|
|
|
@ApiModelProperty(value = "计划ID") |
|
|
|
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
private Long planId; |
|
|
|
private Long planId; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 计划模式 0 人员 1岗位 2机构 3自由模式 4 自由人模式 |
|
|
|
* 计划模式 0 人员 1岗位 2机构 3自由模式 4 自由人模式 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ApiModelProperty(value = "计划模式 0 人员 1岗位 2机构 3自由模式 4 自由人模式") |
|
|
|
@ApiModelProperty(value = "计划模式 0 人员 1岗位 2机构 3自由模式 4 自由人模式") |
|
|
|
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
private String type; |
|
|
|
private String type; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 计划名称 |
|
|
|
* 计划名称 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ApiModelProperty(value = "计划名称") |
|
|
|
@ApiModelProperty(value = "计划名称") |
|
|
|
|
|
|
|
@QueryField(condition = SqlCondition.LIKE) |
|
|
|
private String planName; |
|
|
|
private String planName; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 任务批次号 |
|
|
|
* 任务批次号 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ApiModelProperty(value = "任务批次号") |
|
|
|
@ApiModelProperty(value = "任务批次号") |
|
|
|
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
private String batchNumber; |
|
|
|
private String batchNumber; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 任务计划开始时间 |
|
|
|
* 任务计划开始时间 |
|
|
@ -96,15 +102,18 @@ public class TaskEntity extends TenantEntity { |
|
|
|
* 巡检备案 0 未备案 1已备案 |
|
|
|
* 巡检备案 0 未备案 1已备案 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ApiModelProperty(value = "任务报备 0 未报备 1已报备") |
|
|
|
@ApiModelProperty(value = "任务报备 0 未报备 1已报备") |
|
|
|
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
private String keepOnRecord; |
|
|
|
private String keepOnRecord; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 计划周期 0: 从不 1:每天 2:每月 3:每季度 4:每年 5:每周 |
|
|
|
* 计划周期 0: 从不 1:每天 2:每月 3:每季度 4:每年 5:每周 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ApiModelProperty(value = "计划周期 0: 从不 1:每天 2:每月 3:每季度 4:每年 5:每周") |
|
|
|
@ApiModelProperty(value = "计划周期 0: 从不 1:每天 2:每月 3:每季度 4:每年 5:每周") |
|
|
|
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
private String cycle; |
|
|
|
private String cycle; |
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "任务模式:0抢占,1并发") |
|
|
|
@ApiModelProperty(value = "任务模式:0抢占,1并发") |
|
|
|
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
private String method; |
|
|
|
private String method; |
|
|
|
|
|
|
|
|
|
|
|
@TableField(exist=false) |
|
|
|
@TableField(exist=false) |
|
|
@ -127,6 +136,7 @@ public class TaskEntity extends TenantEntity { |
|
|
|
* 巡检类型标识: 0普通巡检,1视频自动巡检,2机器人巡检 |
|
|
|
* 巡检类型标识: 0普通巡检,1视频自动巡检,2机器人巡检 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ApiModelProperty(value = "巡检类型标识: 0普通巡检,1视频自动巡检,2机器人巡检") |
|
|
|
@ApiModelProperty(value = "巡检类型标识: 0普通巡检,1视频自动巡检,2机器人巡检") |
|
|
|
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
private String autoVideo; |
|
|
|
private String autoVideo; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -134,25 +144,30 @@ public class TaskEntity extends TenantEntity { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "计划类型") |
|
|
|
@ApiModelProperty(value = "计划类型") |
|
|
|
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
private String planType; |
|
|
|
private String planType; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 任务开始前 是否发送提醒短信 标识 |
|
|
|
* 任务开始前 是否发送提醒短信 标识 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ApiModelProperty(value = "任务开始前 是否发送提醒短信 标识") |
|
|
|
@ApiModelProperty(value = "任务开始前 是否发送提醒短信 标识") |
|
|
|
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
private Boolean startRemindFlag ; |
|
|
|
private Boolean startRemindFlag ; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 任务结束前 是否发送提醒短信 标识 |
|
|
|
* 任务结束前 是否发送提醒短信 标识 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ApiModelProperty(value = "任务结束前 是否发送提醒短信 标识") |
|
|
|
@ApiModelProperty(value = "任务结束前 是否发送提醒短信 标识") |
|
|
|
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
private Boolean endRemindFlag ; |
|
|
|
private Boolean endRemindFlag ; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "计划、任务增加开始前提醒时间") |
|
|
|
@ApiModelProperty(value = "计划、任务增加开始前提醒时间") |
|
|
|
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
private LocalDateTime startRemindTime; |
|
|
|
private LocalDateTime startRemindTime; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "计划、任务增加结束前提醒时间") |
|
|
|
@ApiModelProperty(value = "计划、任务增加结束前提醒时间") |
|
|
|
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
private LocalDateTime endRemindTime; |
|
|
|
private LocalDateTime endRemindTime; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -165,14 +180,17 @@ public class TaskEntity extends TenantEntity { |
|
|
|
* 值班id |
|
|
|
* 值班id |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ApiModelProperty(value = "值班id") |
|
|
|
@ApiModelProperty(value = "值班id") |
|
|
|
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
private Long dutyId; |
|
|
|
private Long dutyId; |
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "消息模板ID") |
|
|
|
@ApiModelProperty(value = "消息模板ID") |
|
|
|
@JsonSerialize(nullsUsing = NullSerializer.class) |
|
|
|
@JsonSerialize(nullsUsing = NullSerializer.class) |
|
|
|
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
private Long messageTemplateId; |
|
|
|
private Long messageTemplateId; |
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "消息推送状态") |
|
|
|
@ApiModelProperty(value = "消息推送状态") |
|
|
|
@JsonSerialize(nullsUsing = NullSerializer.class) |
|
|
|
@JsonSerialize(nullsUsing = NullSerializer.class) |
|
|
|
|
|
|
|
@QueryField(condition = SqlCondition.EQUAL) |
|
|
|
private Boolean pushStatus; |
|
|
|
private Boolean pushStatus; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|