package com.ltgk.boat.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: wan kun
 * @Description: TODO
 * @Date: 2025/1/15 10:27
 * @Version: 1.0
 */
@Data
public class DsBoatBlackWhiteVo {

    @ApiModelProperty(value = "主键")
    @JsonProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "船舶id")
    @JsonProperty(value = "boatId")
    private String boatId;

    @ApiModelProperty(value = "船舶名称")
    @JsonProperty(value = "boatName")
    private String boatName;

    @ApiModelProperty(value = "船舶类型")
    @JsonProperty(value = "boatType")
    private String boatType;

    @ApiModelProperty(value = "用来区分黑白名单渔船")
    @JsonProperty(value = "type")
    private String type;

    @ApiModelProperty(value = "设备类型")
    @JsonProperty(value = "deviceType")
    private String deviceType;

    @ApiModelProperty(value = "设备号")
    @JsonProperty(value = "deviceCode")
    private String deviceCode;

    @ApiModelProperty(value = "加入原因")
    @JsonProperty(value = "reason")
    private String reason;

    @ApiModelProperty(value = "加入原因Type")
    @JsonProperty(value = "reasonType")
    private String reasonType;

    @ApiModelProperty(value = "最后上报时间")
    @JsonProperty(value = "gps_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gpsTime;

    @ApiModelProperty(value = "船舶所有人名称")
    @JsonProperty("holderName")
    private String holderName;

    @ApiModelProperty(value = "船舶所有人电话")
    @JsonProperty("holderPhone")
    private String holderPhone;

    @ApiModelProperty(value = "所属区域")
    @JsonProperty("areaName")
    private String areaName;

    @ApiModelProperty(value = "terminalCode")
    @JsonProperty("terminalCode")
    private String terminalCode;
}
