/*
|
* 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.fw.record.dto;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.time.LocalTime;
|
import java.util.Date;
|
import java.io.Serializable;
|
import java.util.List;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import org.sxkj.fw.common.FwBaseInfo;
|
|
/**
|
* 无人机飞行记录表 数据传输对象实体类
|
*
|
* @author lw
|
* @since 2026-01-08
|
*/
|
@Data
|
public class FwDroneFlightRecordDTO extends FwBaseInfo implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
@ApiModelProperty("主键id")
|
@JsonSerialize(using = ToStringSerializer.class)
|
private Long id;
|
|
/**
|
* 反无设备ID(关联ja_fw_device.id)
|
*/
|
@ApiModelProperty(value = "反无设备ID(关联ja_fw_device.id)")
|
private Long deviceId;
|
/**
|
* 无人机名称
|
*/
|
@ApiModelProperty(value = "无人机名称")
|
private String droneName;
|
/**
|
* 序列号
|
*/
|
@ApiModelProperty(value = "序列号")
|
private String serialNo;
|
/**
|
* 首次告警时间
|
*/
|
@ApiModelProperty(value = "首次告警时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date alarmTime;
|
/**
|
* 触发原因/类型
|
*/
|
@ApiModelProperty(value = "触发原因/类型")
|
private String triggerType;
|
/**
|
* 停留时长(HH:MM:SS)
|
*/
|
@ApiModelProperty(value = "停留时长(秒)")
|
private String stayDuration;
|
/**
|
* 区域编码
|
*/
|
@ApiModelProperty(value = "区域编码")
|
private String areaCode;
|
|
@ApiModelProperty(value = "开始时间")
|
private String startTime;
|
|
@ApiModelProperty(value = "结束时间")
|
private String endTime;
|
|
@ApiModelProperty(value = "设备类型")
|
private String deviceType;
|
|
@ApiModelProperty(value = "区域名称")
|
private String areaName;
|
|
}
|