using LearningOfficer.OA.Common.Dtos.Video.ljzk;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningOfficer.OA.Common.Dtos.Video
{
///
/// 课程详情返回数据
///
public class GetCourseDetailRsp
{
///
/// 视频合集详情
///
public VideoCollectionDetai VideoCollectionDetai { get; set; } = null;
///
/// 课程-节id(默认展开的并选中的节,有浏览记录来自浏览记录,没有来自第一章第一节)
///
public long SectionId { get; set; } = 0;
///
/// 上次看到(字符串格式:00:00:00)
///
public string LastSee { get; set; } = "";
///
/// 视频Code(默认选中并播放的视频,有浏览记录来自浏览记录,没有来自第一章第一节第一个视频)
///
public string VideoCode { get; set; } = "";
///
/// 视频名称
///
public string VideoName { get; set; } = "";
///
/// 视频总时长(秒)
///
public decimal VideoSecond { get; set; } = 0;
///
/// 视频播放地址
///
public string VideoUrl { get; set; } = "";
///
/// 观看进度时长(秒)
///
public int SeeSecond { get; set; } = 0;
public long ViewUserCount { get; set; } = 0;
}
///
/// 请求蓝鲸智库的视频合集详情(合集)
///
public class VideoCollectionDetai
{
/////
///// 请求蓝鲸智库的视频合集详情(合集)
/////
/////
/////
//public Task GetVideoCollectionDetai(CourseDetailRequest request);
/////
///// 请求蓝鲸智库的内容(节)详情(章节-节)
/////
/////
/////
//public Task GetVideoSectionDetai(SectionRequest request);
///
/// 课程(合集)id
///
public long CourseId { get; set; }
///
/// 课程(合集)名称
///
public string CourseName { get; set; } = null!;
///
/// 课程(合集)封面
///
public string? CourseCoverUrl { get; set; }
///
/// 课程列表
///
public List CourseChapterDetais { get; set; }
}
///
/// 请求蓝鲸智库的视频合集详情(合集-章节)
///
public class CourseChapterDetai
{
///
/// 章id
///
public long ChapterId { get; set; }
///
/// 章名称
///
public string ChapterName { get; set; } = null!;
///
/// 节列表
///
public List CourseSectionDetais { get; set; }
}
///
/// 蓝鲸智库节详情(章节-节)
///
public class CourseSectionDetai
{
///
/// 节id
///
public long SectionId { get; set; }
///
/// 节名称
///
public string SectionName { get; set; } = null!;
///
/// 节视频列表
///
public List? sectionVideoLists { get; set; }
///
/// 节文件列表
///
public List? sectionFilesLists { get; set; }
}
///
/// 节视频列表
///
public class SectionVideoList
{
///
/// 视频id
///
public string VideoCode { get; set; }
///
/// 视频名称
///
public string VideoName { get; set; } = null!;
///
/// 视频时长(秒)
///
public decimal VideoDuration { get; set; }
///
/// 视频播放地址
///
public string VideoUrl { get; set; }
///
/// 视频封面
///
public string VideoCoverUrl { get; set; }
}
///
/// 节文件列表
///
public class SectionFilesList
{
///
/// 文件id
///
public long FileId { get; set; }
///
/// 文件名称
///
public string FileName { get; set; } = null!;
///
/// 文件大小(kb)
///
public decimal FileSize { get; set; }
///
/// 文件下载地址
///
public string FileUrl { get; set; } = null!;
///
/// 文件类型 文件 图片 视频 蓝鲸智库返回这三种.具体类型根据文件后缀区分
///
public string FileType { get; set; } = null!;
///
/// 文件后缀
///
public string Exend { get; set; }
}
public partial class PalyInfoResult
{
///
/// 播放地址
///
public string Url { get; set; }
///
/// 时长
///
public string Duration { get; set; }
///
/// 封面
///
public string CoverURL { get; set; }
public List Videos { get; set; }
}
public class VideoList
{
///
/// 播放地址
///
public string Url { get; set; }
///
/// 时长
///
public string Duration { get; set; }
///
/// 视频流清晰度定义。 FD:流畅。
/// LD:标清。
/// SD:高清。
/// HD:超清。
/// OD:原画。
/// 2K:2K。
/// 4K:4K。
/// AUTO:自适应码流。
///
public string Definition { get; set; }
///
/// 视频流清晰度定义
///
public string DefinitionName { get; set; }
///
/// 视频流格式 mp4 m3u8。
///
public string Format { get; set; }
}
}