/*
|
* 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;
|
|
/**
|
* 无人机飞行记录表 数据传输对象实体类
|
*
|
* @author lw
|
* @since 2026-01-08
|
*/
|
@Data
|
public class FwDroneFlightRecordDTO {
|
private static final long serialVersionUID = 1L;
|
|
@ApiModelProperty("主键id")
|
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 = "停留时长(HH:MM:SS)")
|
@JsonFormat(pattern = "HH:mm:ss")
|
private LocalTime stayDuration;
|
/**
|
* 区域编码
|
*/
|
@ApiModelProperty(value = "区域编码")
|
private String areaCode;
|
|
}
|