using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace LearningOfficer.OA.Core.Entities.OA.VideoCollection
{
///
/// 视频合集信息
///
[SugarTable("video_collection_info")]
public class VideoCollectionInfo : BaseEntity
{
///
/// 备 注:视频合集名称
/// 默认值:
///
[SugarColumn(ColumnName = "course_name")]
public string CourseName { get; set; }
///
/// 备 注:视频合集id
/// 默认值:
///
[SugarColumn(ColumnName = "course_id")]
public long CourseId { get; set; }
///
/// 备 注:视频类型(默认0免费;1积分)
/// 默认值:
///
[SugarColumn(ColumnName = "course_type")]
public int CourseType { get; set; }
///
/// 备 注:入库时间
/// 默认值:
///
[SugarColumn(ColumnName = "addtime")]
public DateTime Addtime { get; set; }
///
/// 备 注:兑换积分
/// 默认值:
///
[SugarColumn(ColumnName = "change_points")]
public int ChangePoints { get; set; }
/////
///// 备 注:云校id
///// 默认值:
/////
//[SugarColumn(ColumnName = "cloud_school")]
//public long CloudSchool { get; set; }
/////
///// 备 注:职级(角色)0全部
///// 默认值:
/////
//[SugarColumn(ColumnName = "role_enum")]
//public int RoleEnum { get; set; }
///
/// 备 注:上架状态(默认0未上架;1已上架)
/// 默认值:
///
[SugarColumn(ColumnName = "collection_status")]
public int CollectionStatus { get; set; }
///
/// 备 注:最后一次操作上/下架管理员id
/// 默认值:
///
[SugarColumn(ColumnName = "launch_admin_user")]
public long? LaunchAdminUser { get; set; }
///
/// 备 注:最后一次操作上/下架时间
/// 默认值:
///
[SugarColumn(ColumnName = "launch_admin_time")]
public DateTime? LaunchAdminTime { get; set; }
///
/// 备 注:观看次数
/// 默认值:
///
[SugarColumn(ColumnName = "view_count")]
public long? ViewCount { get; set; }
}
///
/// 视频合集关联云校信息
///
[SugarTable("video_collection_cloudschool")]
public class VideoCollectionCloudschool : BaseEntity
{
///
/// 备 注:课程id
/// 默认值:
///
[SugarColumn(ColumnName = "course_id")]
public long CourseId { get; set; }
///
/// 备 注:云校id
/// 默认值:
///
[SugarColumn(ColumnName = "cloud_school_id")]
public long CloudSchoolId { get; set; }
}
///
/// 视频合集关联职级信息
///
[SugarTable("video_collection_role")]
public class VideoCollectionRole : BaseEntity
{
///
/// 备 注:课程id
/// 默认值:
///
[SugarColumn(ColumnName = "course_id")]
public long CourseId { get; set; }
///
/// 备 注:职级(角色)
/// 默认值:
///
[SugarColumn(ColumnName = "role_enum")]
public int RoleEnum { get; set; }
}
}