package cn.reghao.tnb.content.api.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

import java.io.Serializable;
import java.util.List;

/**
 * @author reghao
 * @date 2021-08-27 23:56:22
 */
@AllArgsConstructor
@Data
public class VideoUrls implements Serializable {
    private static final long serialVersionUID = 1L;

    private double currentTime;
    private String type;
    private List<VideoUrl> urls;

    public VideoUrls() {
        this.currentTime = 0.0;
        this.type = "mp4";
        this.urls = List.of(new VideoUrl());
    }
}
