/* * 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.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 java.util.Date; /** * 成果表 实体类 * * @author lw * @since 2026-01-14 */ @Data @TableName(value = "ja_gd_task_result", autoResultMap = true) // 必须开启 autoResultMap @EqualsAndHashCode(callSuper = true) public class GdTaskResultEntity extends BaseEntity { /** * 关联巡查任务表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已驳回、3已确认 */ @ApiModelProperty(value = "分发事件状态:0未分发、1已分发、2已驳回、3已确认") private Integer distributeStatus; /** * 区域编码 */ @ApiModelProperty(value = "区域编码") private String areaCode; /** * 附件类型:1媒体文件; 2ai文件; 3主视频; */ @ApiModelProperty(value = "附件类型:1媒体文件; 2ai文件; 3主视频;") private Integer attachmentType; /** * GeoJSON格式数据 */ @ApiModelProperty(value = "GeoJSON格式数据") private String geojson; }