Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Core/Entities/OA/VideoCollection/VideoCollectionInfo.cs

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