/* * 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.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; import java.util.Date; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; /** * 巡查任务表 数据传输对象实体类 * * @author lw * @since 2026-01-14 */ @Data public class GdPatrolTaskDTO implements Serializable { private static final long serialVersionUID = 1L; @ApiModelProperty("主键id") @JsonSerialize(using = ToStringSerializer.class) private Long id; /** * 关联工单任务表ID */ @ApiModelProperty(value = "关联工单任务表ID") private Long workOrderId; /** * 巡查任务编号 */ @ApiModelProperty(value = "巡查任务编号") private String taskNo; /** * 巡查任务名称 */ @ApiModelProperty(value = "巡查任务名称") private String patrolTaskName; /** * 巡查任务类型(巡查类/安检类等) */ @ApiModelProperty(value = "巡查任务类型 1.巡查类 2.巡检类 3.安保类 4.文旅类 5.采集数据类 ") private String patrolTaskType; /** * 执行时间 */ @ApiModelProperty(value = "执行时间") private Date executeTime; /** * 巡查任务航线URL */ @ApiModelProperty(value = "巡查任务航线URL") private String patrolRouteUrl; /** * 推荐飞手名称 */ @ApiModelProperty(value = "推荐飞手名称") private String recommendFlyerName; /** * 关联设备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验收通过") private String taskStatus; /** * 区域编码 */ @ApiModelProperty(value = "区域编码") private String areaCode; }