| | |
| | | package com.dji.sample.wayline.model.param; |
| | | |
| | | import com.dji.sample.wayline.model.enums.WaylineTaskTypeEnum; |
| | | import com.dji.sample.wayline.model.enums.WaylineTemplateTypeEnum; |
| | | import lombok.Data; |
| | | import org.hibernate.validator.constraints.Range; |
| | | |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author sean |
| | |
| | | @NotBlank |
| | | private String dockSn; |
| | | |
| | | @Range(max = 0) |
| | | @NotNull |
| | | private Integer waylineType; |
| | | private WaylineTemplateTypeEnum waylineType; |
| | | |
| | | @Range(max = 1) |
| | | @NotNull |
| | | private Integer taskType; |
| | | |
| | | private Long executeTime; |
| | | private WaylineTaskTypeEnum taskType; |
| | | |
| | | @Range(min = 20, max = 500) |
| | | @NotNull |
| | |
| | | @NotNull |
| | | @Range(max = 2) |
| | | private Integer outOfControlAction; |
| | | |
| | | @Range(min = 50, max = 90) |
| | | private Integer minBatteryCapacity; |
| | | |
| | | private Integer minStorageCapacity; |
| | | |
| | | private List<Long> taskDays; |
| | | |
| | | private List<List<Long>> taskPeriods; |
| | | } |