| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | public class LampMission implements Serializable { |
| | |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | private String userName; |
| | | |
| | | private Integer[] weeks; |
| | | |
| | | //亮度 |
| | | private Double initial; |
| | | |
| | | /** 开灯时间 */ |
| | | @JsonFormat(pattern = " HH:mm:ss") |
| | | private LocalDateTime onTime; |
| | | |
| | | |
| | | /** 关灯时间 */ |
| | | @JsonFormat(pattern = " HH:mm:ss") |
| | | private LocalDateTime offTime; |
| | | |
| | | /** |
| | | * 亮度调节 |
| | | */ |
| | | private List<LightAdjust> adjusts; |
| | | |
| | | |
| | | } |