| | |
| | | import javax.validation.constraints.NotEmpty; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.time.LocalDateTime; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Data |
| | | public class PlayPlanParam { |
| | |
| | | /** |
| | | * 日期范围/开 |
| | | */ |
| | | @NotEmpty |
| | | |
| | | private String startDate; |
| | | |
| | | /** |
| | | * 日期范围/关 |
| | | */ |
| | | @NotEmpty |
| | | |
| | | private String endDate; |
| | | |
| | | /** |
| | | * 星期范围 |
| | | */ |
| | | @NotNull |
| | | |
| | | @TableField(typeHandler = JsonIntegerArrayTypeHandler.class) |
| | | private Integer[] weekDays; |
| | | |
| | | /** |
| | | * schedule实体 |
| | | */ |
| | | private String schedule; |
| | | private Map schedule; |
| | | |
| | | /** |
| | | * 开播时间 |
| | | */ |
| | | @NotEmpty |
| | | |
| | | private String startTime; |
| | | |
| | | /** |
| | | * 下播时间 |
| | | */ |
| | | @NotEmpty |
| | | |
| | | private String endTime; |
| | | } |
| | | |