| | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonIgnore; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | import lombok.Data; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 路灯任务表 |
| | | * |
| | | * @TableName light_task |
| | | */ |
| | | @TableName(value ="light_task") |
| | | @TableName(value = "light_task") |
| | | @Data |
| | | public class LightTask implements Serializable { |
| | | /** |
| | | * |
| | | * |
| | | */ |
| | | @TableId(type = IdType.AUTO) |
| | | private Long taskId; |
| | | |
| | | /** |
| | | * 用户id |
| | | */ |
| | | private Long userId; |
| | | |
| | | /** |
| | | * 客户id |
| | |
| | | /** |
| | | * 1暂停、0启用 |
| | | */ |
| | | @JsonIgnore |
| | | private Integer pause; |
| | | |
| | | /** |
| | | * 星期几,位运算保存,1代表星期一,2星期二,4星期三,8星期四,16星期五,32星期六,64星期日 |
| | | */ |
| | | @JsonIgnore |
| | | private Integer week; |
| | | |
| | | /** |
| | |
| | | private String framePayload; |
| | | |
| | | /** |
| | | * 控灯地址 |
| | | */ |
| | | private String lightAdress = "FFFF"; |
| | | |
| | | /** |
| | | * 创建用户 |
| | | */ |
| | | private String createUser; |
| | |
| | | private LocalDateTime createTime; |
| | | |
| | | /** |
| | | * |
| | | * |
| | | */ |
| | | private LocalDateTime updateTime; |
| | | |
| | | @TableField(exist = false) |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | |
| | | @TableField(exist = false) |
| | | private List<Integer> weekList; |
| | | } |