package com.sandu.ximon.admin.param;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.sandu.common.mybatis.JsonIntegerArrayTypeHandler;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotEmpty;
|
import javax.validation.constraints.NotNull;
|
import java.util.Map;
|
|
@Data
|
public class PlayPlanParam {
|
|
|
private Long id;
|
|
@NotEmpty(message = "播放计划名称不能为空")
|
private String name;
|
@NotEmpty(message = "节目名称不能为空")
|
private String ledProgramName;
|
@NotNull(message = "节目id不能为空")
|
private Long ledProgramId;
|
@NotEmpty(message = "音量不能为空")
|
//音量
|
private String volume;
|
|
/**
|
* 适用系列
|
*/
|
private Integer applySeries;
|
|
/**
|
* 日期范围/开
|
*/
|
|
private String startDate;
|
|
/**
|
* 日期范围/关
|
*/
|
|
private String endDate;
|
|
/**
|
* 星期范围
|
*/
|
|
@TableField(typeHandler = JsonIntegerArrayTypeHandler.class)
|
private Integer[] weekDays;
|
|
/**
|
* schedule实体
|
*/
|
private Map schedule;
|
|
/**
|
* 开播时间
|
*/
|
|
private String startTime;
|
|
/**
|
* 下播时间
|
*/
|
|
private String endTime;
|
}
|