| | |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | private String userName; |
| | | private Long userId; |
| | | |
| | | /*任务执行天数*/ |
| | | @TableField(typeHandler = JsonIntegerArrayTypeHandler.class) |
| | | private Integer[] weeks; |
| | | |
| | |
| | | private Double initial; |
| | | |
| | | /** 开灯时间 */ |
| | | @JsonFormat(pattern = " HH:mm:ss") |
| | | // @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss") |
| | | //@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss,timezone = \"GMT+8") |
| | | //@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="HH:mm") |
| | | private LocalDateTime onTime; |
| | | |
| | | |
| | | /** 关灯时间 */ |
| | | @JsonFormat(pattern = " HH:mm:ss") |
| | | // @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss") |
| | | //@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss,timezone = \"GMT+8") |
| | | //@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="HH:mm") |
| | | private LocalDateTime offTime; |
| | | |
| | | /** |
| | | * 亮度调节 |
| | | */ |
| | | private List<LightAdjust> adjusts; |
| | | // private List<LightAdjust> adjusts; |
| | | |
| | | |
| | | } |