吉安感知网项目-后端
linwei
2026-06-04 ad935c07a6cabf05fed9c615c7bd4f67f6d65293
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.sxkj.gd.workorder.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
 
import org.sxkj.common.handler.ListToStringTypeHandler;
import org.sxkj.common.handler.GenericListTypeHandler;
import org.sxkj.common.handler.StringToIntegerTypeHandler;
 
import java.util.Date;
import java.util.List;
 
/**
 * 巡查任务表 实体类
 *
 * @author lw
 * @since 2026-01-14
 */
@Data
@TableName("ja_gd_patrol_task")
@ApiModel(value = "GdPatrolTask对象", description = "巡查任务表")
@EqualsAndHashCode(callSuper = true)
public class GdPatrolTaskEntity extends BaseEntity {
 
    /**
     * 关联工单任务表ID
     */
    @ApiModelProperty(value = "关联工单任务表ID")
    private Long workOrderId;
 
    /**
     * 巡查任务编号
     */
    @ApiModelProperty(value = "巡查任务编号")
    private String taskNo;
    /**
     * 巡查任务名称
     */
    @ApiModelProperty(value = "巡查任务名称")
    private String patrolTaskName;
    /**
     * 巡查任务类型(巡查类/安检类等)
     */
    @ApiModelProperty(value = "巡查任务类型(二维数组,如:[[\"road\",\"road1\"],[\"bridge\",\"bridge2\"]])")
    @TableField(value = "patrol_task_type", typeHandler = GenericListTypeHandler.class)
    private List<List<String>> patrolTaskType;
    /**
     * 执行时间
     */
    @ApiModelProperty(value = "执行时间")
    private Date executeTime;
    /**
     * 外部来源航线Id
     */
    @ApiModelProperty(value = "外部来源航线Id")
    private String airlineId;
    /**
     * 巡查任务航线URL
     */
    @ApiModelProperty(value = "巡查任务航线URL")
    private String patrolRouteUrl;
    /**
     * 推荐飞手名称
     */
    @ApiModelProperty(value = "推荐飞手名称")
    private String recommendFlyerName;
 
    /**
     * 设备飞手ID
     */
    @ApiModelProperty(value = "设备飞手ID")
    private String deviceFlyerId;
 
    // 算法 algorithmIds
    @ApiModelProperty("算法ids")
    @TableField(typeHandler = ListToStringTypeHandler.class)
    private List<String> algorithmIds;
 
    /**
     * 关联设备ID
     */
    @ApiModelProperty(value = "关联设备ID")
    private Long deviceId;
    /**
     * 任务描述
     */
    @ApiModelProperty(value = "任务描述")
    private String taskDesc;
    /**
     * 状态:0待签收、1拒绝签收、2已撤回、3待审核、4审核驳回、5审核通过、6待验收、7拒绝验收、8验收通过
     */
    @ApiModelProperty(value = "状态:0待签收、1拒绝签收、2已撤回、3待审核、4审核驳回、5审核通过、6待验收、7拒绝验收、8验收通过")
    @TableField(typeHandler = StringToIntegerTypeHandler.class)
    private String taskStatus;
    /**
     * 区域编码
     */
    @ApiModelProperty(value = "区域编码")
    private String areaCode;
 
    /**
     * 拒绝原因(审核拒绝时必填)
     */
    @ApiModelProperty(value = "拒绝原因(审核拒绝时必填)")
    private String rejectReason;
 
}