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 org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 母港管理导出视图
 *
 * @author Qi ChengBin
 * @date 2025/02/26
 */
@Data
public class BoatHomePortExportVO {

    @ApiModelProperty(value = "渔船名称")
    @JsonProperty("boatName")
    @Excel(name = "渔船名称", width = 25, height = 18)
    private String boatName;

    @ApiModelProperty(value = "渔船所有人")
    @JsonProperty("holderName")
    @Excel(name = "渔船所有人", width = 25, height = 18)
    private String holderName;

    @ApiModelProperty(value = "联系方式")
    @JsonProperty("holderPhone")
    @Excel(name = "联系方式", width = 25, height = 18)
    private String holderPhone;

    @ApiModelProperty(value = "船舶类型")
    @JsonProperty("boatType")
    @Excel(name = "船舶类型", width = 25, height = 18)
    private String boatType;

    @ApiModelProperty(value = "母港")
    @JsonProperty("homePortName")
    @Excel(name = "母港", width = 25, height = 18)
    private String homePortName;

    @ApiModelProperty(value = "绑定时间")
    @JsonProperty("homePortBuildTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "绑定时间", width = 25, height = 18, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date homePortBuildTime;
}
