package com.sandu.ximon.admin.dto.nova;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
import lombok.Data;
|
import lombok.NoArgsConstructor;
|
|
import java.util.List;
|
|
/**
|
* @author LiuHaoNan
|
* @date 2022/8/1
|
* 普通节目实体
|
*/
|
@NoArgsConstructor
|
@Data
|
public class NormalProgramDto {
|
|
|
private String name;
|
|
private List<SchedulesDTO> schedules;
|
|
private List<WidgetsDTO> widgets;
|
|
@NoArgsConstructor
|
@Data
|
public static class SchedulesDTO {
|
|
private String startDate;
|
|
private String endDate;
|
|
private List<PlansDTO> plans;
|
|
@NoArgsConstructor
|
@Data
|
public static class PlansDTO {
|
|
private List<Integer> weekDays;
|
|
private String startTime;
|
|
private String endTime;
|
}
|
}
|
|
@NoArgsConstructor
|
@Data
|
public static class WidgetsDTO {
|
|
private Integer zIndex;
|
|
private String type;
|
|
private Integer size;
|
|
private String md5;
|
|
private Integer duration;
|
|
private String url;
|
|
private LayoutDTO layout;
|
|
private InAnimationDTO inAnimation;
|
|
@NoArgsConstructor
|
@Data
|
public static class LayoutDTO {
|
|
private String x;
|
|
private String y;
|
|
private String width;
|
|
private String height;
|
}
|
|
@NoArgsConstructor
|
@Data
|
public static class InAnimationDTO {
|
|
private String type;
|
|
private Integer duration;
|
}
|
}
|
}
|