package com.ltgk.boat.domain.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ltgk.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 渔船轨迹数据导出VO
 *
 * @author Qi ChengBin
 * @date 2025/07/25
 */
@Data
@Accessors(chain = true)
public class ExportBoatTrajectoryVO {
    @ApiModelProperty("渔船名称")
    @JsonProperty(value = "boatName")
    @Excel(name = "渔船名称", width = 30)
    private String boatName;

    @ApiModelProperty("mmsi")
    @JsonProperty(value = "boatName")
    @Excel(name = "mmsi", width = 30)
    private String mmsi;

    @ApiModelProperty("当前系统时间时间戳用来查找删除数据时使用")
    @JsonProperty(value = "time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    @ApiModelProperty("纬度 目标所在的纬度，单位：度(°)")
    @JsonProperty(value = "latitude")
    @Excel(name = "纬度", width = 30)
    private Double latitude;

    @ApiModelProperty("经度 目标所在的经度，单位：度(°)")
    @JsonProperty(value = "longitude")
    @Excel(name = "经度", width = 30)
    private Double longitude;
}
