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

import java.util.Date;

/**
 * @Author: wan kun
 * @Description: TODO
 * @Date: 2025/2/6 10:56
 * @Version: 1.0
 */
@Data
public class BoatInsuranceOverDueVo {
    @ApiModelProperty(value = "船舶ID")
    @JsonProperty("boatId")
    private String boatId;
    @ApiModelProperty(value = "船名号")
    @JsonProperty(value = "boat_name")
    private String boatName;

    @ApiModelProperty(value = "保险类型（船舶建造保险、船舶修理保险、船舶修理费用保险）")
    @JsonProperty("insurance_type")
    private String insuranceType;

    @ApiModelProperty(value = "保险编号")
    @JsonProperty(value = "insurance_code")
    private String insuranceCode;

    @ApiModelProperty(value = "保险公司")
    @JsonProperty("insurance_company")
    private String insuranceCompany;

    @ApiModelProperty(value = "保险状态状态（保单待承保、保单有效、保单中止、保单过期）")
    @JsonProperty("insurance_status")
    private String insuranceStatus;

    @ApiModelProperty(value = "保险生效时间")
    @JsonProperty("insurance_start_time")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date insuranceStartTime;


    @ApiModelProperty(value = "保险截止时间")
    @JsonProperty("insurance_end_time")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date insuranceEndTime;

    @ApiModelProperty(value = "投保人")
    @JsonProperty("insurance_holder")
    private String insuranceHolder;

    @ApiModelProperty(value = "投保人联系方式")
    @JsonProperty("holder_phone")
    private String holderPhone;

    @ApiModelProperty(value = "保险受益人")
    @JsonProperty("insurance_beneficiary")
    private String insuranceBeneficiary;

    @ApiModelProperty(value = "保险受益人联系方式")
    @JsonProperty("beneficiary_phone")
    private String beneficiaryPhone;


    @ApiModelProperty(value = "保险图片")
    @JsonProperty("picture")
    private String picture;
    @ApiModelProperty(value = "设备终端编号")
    @JsonProperty("deviceCode")
    private String deviceCode;
}
