package com.ltgk.boat.domain.dto;


import com.ltgk.port.domain.vo.ParkedAreaForAppVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 查询两个点之间的航线的请求参数
 *
 * @author Qi ChengBin
 * @date 2025/05/26
 */
@Data
public class FindPointListByTwoPointDTO {

    @ApiModelProperty(value = "渔船所在经纬度")
    @NotBlank(message = "渔船所在经纬度不能为空")
    private ParkedAreaForAppVO.Point startPoint;

    @ApiModelProperty(value = "要停靠泊区的中心点经纬度")
    @NotBlank(message = "要停靠泊区的中心点经纬度不能为空")
    private ParkedAreaForAppVO.Point endPoint;

    @ApiModelProperty(value = "渔船主键")
    @NotBlank(message = "渔船主键不能为空")
    private String boatId;

    @ApiModelProperty(value = "泊区主键")
    @NotBlank(message = "泊区主键不能为空")
    private String parkedAreaId;

    @ApiModelProperty(value = "渔船进港主键")
    private String enterPortId;
}
