Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Common/Dtos/Video/VideoCollectionListRequest.cs

172 lines
4.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using LearningOfficer.OA.Common.Request;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningOfficer.OA.Common.Dtos.Video
{
public class VideoCollectionData
{
public List<VideoCollectionList> Data { get; set; } = new List<VideoCollectionList>();
public int Total { get; set; }
}
/// <summary>
/// 请求蓝鲸智库的视频合集列表
/// </summary>
public class VideoCollectionList
{
///// <summary>
///// 取视频合集列表
///// </summary>
///// <param name="CourseName"></param>
///// <param name="pageRequest"></param>
///// <returns></returns>
//public Task GetVideoCollectionList(CourseRequest request);
/// <summary>
/// 合集Id
/// </summary>
public long VideoCollectionId { get; set; }
/// <summary>
/// 合集名称
/// </summary>
public string VideoCollectionName { get; set; }
/// <summary>
/// 合集封面地址
/// </summary>
public string? VideoCollectionImgUrl { get; set; }
/// <summary>
/// 最后更新时间
/// </summary>
public DateTime? LastUpdateTime { get; set; }
}
/// <summary>
/// 视频合集列表组装本地合集数据
/// </summary>
public class VideoCollectionListResult// : VideoCollectionList
{
public string VideoCollectionId { get; set; }
/// <summary>
/// 合集名称
/// </summary>
public string VideoCollectionName { get; set; }
/// <summary>
/// 合集封面地址
/// </summary>
public string? VideoCollectionImgUrl { get; set; }
/// <summary>
/// 最后更新时间
/// </summary>
public DateTime? LastUpdateTime { get; set; }
/// <summary>
/// id
/// </summary>
public long? Id { get; set; }
/// <summary>
/// 备 注:合集类型默认0免费1积分
/// 默认值:
///</summary>
public int? CollectionType { get; set; } = 0;
/// <summary>
/// 备 注:入库时间
/// 默认值:
///</summary>
public DateTime? Addtime { get; set; }
/// <summary>
/// 备 注:兑换积分
/// 默认值:
///</summary>
public int? ChangePoints { get; set; } = 0;
/// <summary>
/// 备 注:云校id
/// 默认值:
///</summary>
public long? CloudSchool { get; set; }
/// <summary>
/// 备 注:职级
/// 默认值:
///</summary>
public int? RoleEnum { get; set; }
/// <summary>
/// 备 注:上架状态默认0未上架1已上架
/// 默认值:
///</summary>
public int? CollectionStatus { get; set; } = 0;
/// <summary>
/// 备 注:最后一次操作上/下架管理员id
/// 默认值:
///</summary>
public long? LaunchAdminUser { get; set; }
/// <summary>
/// 备 注:最后一次操作上/下架时间
/// 默认值:
///</summary>
public DateTime? LaunchAdminTime { get; set; }
public string? CloudSchoolName { get; set; }
public string? RoleEnumName { get; set; }
public string? CollectionTypeName { get; set; }
public string? CollectionStatusName { get; set; }
public List<string> CloudSchoolIds { get; set; } = new List<string>();
public List<int> RoleEnumIds { get; set; } = new List<int>();
}
/// <summary>
/// 移动端列表页数据
/// </summary>
public class VideoCollectionRsp : VideoCollectionList
{
/// <summary>
/// id
/// </summary>
public long? Id { get; set; }
/// <summary>
/// 合集类型默认0免费1积分2兑换3已兑换。已兑换优先级最大
///</summary>
public int? CollectionType { get; set; } = 0;
/// <summary>
/// 备 注:兑换积分
/// 默认值:
///</summary>
public int? ChangePoints { get; set; } = 0;
/// <summary>
/// 浏览人数
/// </summary>
public long ViewUserCount { get; set; }
/// <summary>
/// 上次观看
/// </summary>
public string LastSee { get; set; }
}
}