aix
2024-08-15 8c93ab27f55588300dc2bf07b0c1f7001bb78943
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.dji.sample.control.model.dto;
 
import lombok.Data;
import org.hibernate.validator.constraints.Range;
 
import javax.validation.constraints.NotNull;
 
/**
 * @author sean
 * @version 1.3
 * @date 2023/2/14
 */
@Data
public class PointDTO {
 
    @Range(min = -90, max = 90)
    @NotNull
    private Double latitude;
 
    @NotNull
    @Range(min = -180, max = 180)
    private Double longitude;
 
    /**
     * WGS84
     * The M30 series are ellipsoidal heights.
     */
    @NotNull
    @Range(min = 2, max = 1500)
    private Double height;
}