132 lines
3.3 KiB
C#
132 lines
3.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using SqlSugar;
|
|
|
|
namespace LearningOfficer.OA.Core.Entities.OA.VideoCollection
|
|
{
|
|
/// <summary>
|
|
/// 视频观看记录信息
|
|
///</summary>
|
|
[SugarTable("video_collection_see")]
|
|
public class VideoCollectionSee : BaseEntity
|
|
{
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:课程id
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "course_id" )]
|
|
public long CourseId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:课程名称
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "course_name" )]
|
|
public string CourseName { get; set; } = null!;
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:封面路径
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "videos_image" )]
|
|
public string VideosImage { get; set; } = null!;
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:章id
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "chapter_id" )]
|
|
public long ChapterId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:章名称
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "chapter_name" )]
|
|
public string ChapterName { get; set; } = null!;
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:节id
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "section_id" )]
|
|
public long SectionId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:节名称
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "section_name" )]
|
|
public string SectionName { get; set; } = null!;
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:视频Code
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "video_code" )]
|
|
public string VideoCode { get; set; } = null!;
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:视频名称
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "video_name" )]
|
|
public string VideoName { get; set; } = null!;
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:视频总时长(秒)
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "video_second" )]
|
|
public int VideoSecond { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:视频播放地址
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "video_url" )]
|
|
public string VideoUrl { get; set; } = null!;
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:观看进度时长(秒)
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "see_second" )]
|
|
public int SeeSecond { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:观看人id
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "userid" )]
|
|
public long? Userid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 备 注:最后操作时间
|
|
/// 默认值:
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "lasttime" )]
|
|
public DateTime Lasttime { get; set; }
|
|
|
|
|
|
}
|
|
|
|
} |