/* * 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 GdTaskResultDTO implements Serializable { private static final long serialVersionUID = 1L; @ApiModelProperty("主键id") @JsonSerialize(using = ToStringSerializer.class) private String id; /** * 关联巡查任务表ID */ @ApiModelProperty(value = "关联巡查任务表ID") private Long patrolTaskId; /** * 成果编号 */ @ApiModelProperty(value = "成果编号") private String resultCode; /** * 成果URL */ @ApiModelProperty(value = "成果URL") private String resultUrl; /** * 拍照时间 */ @ApiModelProperty(value = "拍照时间") private Date shootTime; /** * 照片数据(JSON格式) */ @ApiModelProperty(value = "照片数据(JSON字符串格式,无人机高度、偏航角、云台俯仰角、云台偏航角等信息)") private String photoData; /** * 经度 */ @ApiModelProperty(value = "拍照经度") private Double longitude; /** * 纬度 */ @ApiModelProperty(value = "拍照纬度") private Double latitude; /** * 分发事件状态:0未分发、1已分发、2已驳回 */ @ApiModelProperty(value = "分发事件状态:0未分发、1已分发、2已驳回") private Integer distributeStatus; /** * 区域编码 */ @ApiModelProperty(value = "区域编码") private String areaCode; /** * 媒体文件; 2ai文件; 3主视频; 4日志 ; */ @ApiModelProperty(value = " 1媒体文件; 2ai文件; 3主视频; 4日志 ;") private Integer dateType; /** * 文件类型:照片 视频 图片 */ @ApiModelProperty(value = "文件类型:照片 视频 图片") private String fileType; /** * 附件类型:1媒体文件; 2ai文件; 3主视频; */ @ApiModelProperty(value = "附件类型:1媒体文件; 2ai文件; 3主视频;") private Integer attachmentType; /** * GeoJSON格式数据 */ @ApiModelProperty(value = "GeoJSON格式数据") private String geojson; }