sean.zhou
2022-11-18 56df98ce4952239fbf7d0e99dbeb0e5c71531d6f
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
32
33
34
35
36
37
38
39
40
41
42
43
package com.dji.sample.wayline.model.param;
 
import lombok.Data;
import org.hibernate.validator.constraints.Range;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
 
/**
 * @author sean
 * @version 1.1
 * @date 2022/6/1
 */
@Data
public class CreateJobParam {
 
    @NotBlank
    private String name;
 
    @NotBlank
    private String fileId;
 
    @NotBlank
    private String dockSn;
 
    @Range(max = 0)
    @NotNull
    private Integer waylineType;
 
    @Range(max = 1)
    @NotNull
    private Integer taskType;
 
    private Long executeTime;
 
    @Range(min = 20, max = 500)
    @NotNull
    private Integer rthAltitude;
 
    @NotNull
    @Range(max = 2)
    private Integer outOfControlAction;
}