Commit dbe0eb0f authored by 黄奎's avatar 黄奎

新增实体类

parent 65780320
using Edu.Common.Enum;
using System;
using System.Collections.Generic;
using System.Text;
using VT.FW.DB;
namespace Edu.Model.Entity.Course
{
/// <summary>
/// 课程实体类
/// </summary>
[Serializable]
[DB(ConnectionName = "DefaultConnection")]
public class RB_Course
{
/// <summary>
/// 主键(课程编号)
/// </summary>
public int CourseId { get; set; }
/// <summary>
/// 课程封面图
/// </summary>
public string CoverImg { get; set; }
/// <summary>
/// 课程名称
/// </summary>
public string CourseName { get; set; }
/// <summary>
/// 课程介绍
/// </summary>
public string CourseIntro { get; set; }
/// <summary>
/// 课程分类编号
/// </summary>
public int CateId { get; set; }
/// <summary>
/// 创建人
/// </summary>
public int CreateBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 修改人
/// </summary>
public int UpdateBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime UpdateTime { get; set; }
/// <summary>
/// 学校Id
/// </summary>
public int School_Id { get; set; }
/// <summary>
/// 集团编号
/// </summary>
public int Group_Id { get; set; }
/// <summary>
/// 删除状态
/// </summary>
public DateStateEnum Status { get; set; }
}
}
\ No newline at end of file
using Edu.Common.Enum;
using System;
using System.Collections.Generic;
using System.Text;
using VT.FW.DB;
namespace Edu.Model.Entity.Course
{
/// <summary>
/// 课程章节实体类
/// </summary>
[Serializable]
[DB(ConnectionName = "DefaultConnection")]
public class RB_Course_Chapter
{
/// <summary>
/// 主键(章节编号)
/// </summary>
public int ChapterId { get; set; }
/// <summary>
/// 课程Id
/// </summary>
public int CourseId { get; set; }
/// <summary>
/// 章节名称
/// </summary>
public string ChapterName { get; set; }
/// <summary>
/// 章节内容
/// </summary>
public string ChapterContent { get; set; }
/// <summary>
/// 父节点编号
/// </summary>
public int ParentId { get; set; }
/// <summary>
/// 开发状态
/// </summary>
public int OpenStatus { get; set; }
/// <summary>
/// 章节进度
/// </summary>
public int Progress { get; set; }
/// <summary>
/// 创建人
/// </summary>
public int CreateBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 修改人
/// </summary>
public int UpdateBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime UpdateTime { get; set; }
/// <summary>
/// 删除状态
/// </summary>
public DateStateEnum Status { get; set; }
}
}
using Edu.Common.Enum;
using System;
using System.Collections.Generic;
using System.Text;
using VT.FW.DB;
namespace Edu.Model.Entity.Course
{
/// <summary>
/// 课程通知实体类
/// </summary>
[Serializable]
[DB(ConnectionName = "DefaultConnection")]
public class RB_Course_Notice
{
/// <summary>
/// 主键(通知编号)
/// </summary>
public int NoticeId { get; set; }
/// <summary>
/// CourseId
/// </summary>
public int CourseId { get; set; }
/// <summary>
/// 通知标题
/// </summary>
public string Title { get; set; }
/// <summary>
/// 通知内容
/// </summary>
public string Content { get; set; }
/// <summary>
/// 是否置顶(1-是)
/// </summary>
public int IsTop { get; set; }
/// <summary>
/// 发布状态(0-默认,1-已发布,2-撤回)
/// </summary>
public int PublishStatus { get; set; }
/// <summary>
/// 删除状态
/// </summary>
public DateStateEnum Status { get; set; }
/// <summary>
/// 创建人
/// </summary>
public int CreateBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 修改人
/// </summary>
public int UpdateBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime UpdateTime { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Text;
using VT.FW.DB;
namespace Edu.Model.Entity.Course
{
/// <summary>
/// 课程通知接收实体类
/// </summary>
[Serializable]
[DB(ConnectionName = "DefaultConnection")]
public class RB_Course_NoticeRevice
{
/// <summary>
/// 主键(接收Id)
/// </summary>
public int ReviceId { get; set; }
/// <summary>
/// 通知Id
/// </summary>
public int NoticeId { get; set; }
/// <summary>
/// 系统账号Id
/// </summary>
public int AccountId { get; set; }
/// <summary>
/// 读取状态(0-未读,1-已读)
/// </summary>
public int IsRead { get; set; }
/// <summary>
/// 阅读时间
/// </summary>
public DateTime? ReadTime { get; set; }
/// <summary>
/// 恢复内容
/// </summary>
public string ReciveContent { get; set; }
}
}
......@@ -25,7 +25,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Edu.WebApi", "Edu.WebApi\Ed
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Edu.Module.System", "Edu.Module.System\Edu.Module.System.csproj", "{CBA4F637-BB41-4281-BCE8-4BB9BBA3193F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Edu.Module.Course", "Edu.Module.Course\Edu.Module.Course.csproj", "{3B21886D-A9E1-4C74-85B4-7740935AF791}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Edu.Module.Course", "Edu.Module.Course\Edu.Module.Course.csproj", "{3B21886D-A9E1-4C74-85B4-7740935AF791}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment