| | |
| | | package com.dji.sample.wayline.model.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Builder; |
| | | import lombok.Data; |
| | | import lombok.NoArgsConstructor; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author sean |
| | |
| | | @Builder |
| | | @NoArgsConstructor |
| | | @AllArgsConstructor |
| | | @TableName("wayline_job") |
| | | @TableName(value = "wayline_job",autoResultMap = true) |
| | | public class WaylineJobEntity implements Serializable { |
| | | |
| | | @TableId(type = IdType.AUTO) |
| | |
| | | @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE) |
| | | private Long updateTime; |
| | | |
| | | @TableField("begin_time") |
| | | private Long beginTime; |
| | | |
| | | @TableField("completed_time") |
| | | private Long completedTime; |
| | | |
| | | @TableField("parent_id") |
| | | private String parentId; |
| | | |
| | | /** |
| | | * 电量 |
| | | */ |
| | | @TableField("battery_capacity") |
| | | private Integer batteryCapacity; |
| | | |
| | | /** |
| | | * 执行时间数组 |
| | | */ |
| | | @TableField(value = "execute_time_arr",typeHandler = FastjsonTypeHandler.class) |
| | | private List<List<Long>> executeTimeArr; |
| | | |
| | | /** |
| | | * 重复频率类型 |
| | | */ |
| | | @TableField("rep_fre_type") |
| | | private Integer repFreType; |
| | | |
| | | @TableField("rep_fre_val") |
| | | private Integer repFreVal; |
| | | |
| | | @TableField("rep_rule_type") |
| | | private Integer repRuleType; |
| | | |
| | | @TableField(value = "rep_rule_val",typeHandler = FastjsonTypeHandler.class) |
| | | private List<Integer> repRuleVal; |
| | | |
| | | /** |
| | | * 开始执行时间 |
| | | */ |
| | | @TableField(value = "execute_start_time_arr",typeHandler = FastjsonTypeHandler.class) |
| | | private List<List<Long>> executeStartTimeArr; |
| | | |
| | | @TableField("collect_status") |
| | | private Boolean collectStatus; |
| | | |
| | | @TableField("user_id") |
| | | private String userId; |
| | | |
| | | @TableField(exist = false) |
| | | private String hasChildren; |
| | | } |