package com.sandu.ximon.dao.domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
|
import com.sandu.common.mybatis.JsonIntegerArrayTypeHandler;
|
import lombok.Data;
|
|
/**
|
* 播放计划表
|
* @TableName play_plan
|
*/
|
@TableName(value ="play_plan")
|
@Data
|
public class PlayPlan implements Serializable {
|
/**
|
*
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/**
|
*
|
*/
|
private Long userId;
|
|
/**
|
* 播放计划名称
|
*/
|
private String name;
|
|
/**
|
* 节目id
|
*/
|
private Long ledProgramId;
|
|
/**
|
* 节目名称
|
*/
|
private String ledProgramName;
|
|
/**
|
* 音量
|
*/
|
private Double volume;
|
|
/**
|
* 适用系列
|
*/
|
private Integer applySeries;
|
|
/**
|
* 日期范围/开
|
*/
|
private LocalDateTime onDateRange;
|
|
/**
|
* 日期范围/关
|
*/
|
private LocalDateTime offDateRange;
|
|
/**
|
* 星期范围
|
*/
|
@TableField(typeHandler = JsonIntegerArrayTypeHandler.class)
|
private Integer[] weekRange;
|
|
/**
|
* 开播时间
|
*/
|
private LocalDateTime onTime;
|
|
/**
|
* 下播时间
|
*/
|
private LocalDateTime offTime;
|
|
@TableField(exist = false)
|
private static final long serialVersionUID = 1L;
|
|
|
}
|