37 lines
1.0 KiB
C#
37 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Song.Entities
|
|
{
|
|
public partial class Course : WeiSha.Data.Entity
|
|
{
|
|
//当前课程里的章节数
|
|
public int olcount;
|
|
//当前课程的试题
|
|
public int quscount;
|
|
//获取课程的购买信息-
|
|
public string starttime;
|
|
//获取课程的购买信息-
|
|
public string endtime;
|
|
|
|
//课程资源路径
|
|
public string coupath;
|
|
//学习该课程的总人数,包括已经过期的
|
|
public int studyCount;
|
|
//是否可以学习,如果是免费或已经选修便可以学习,否则当前课程允许试用且当前章节是免费的,也可以学习
|
|
public bool canStudy;
|
|
//树形章节输出
|
|
public DataTable olTree;
|
|
|
|
//课程公告
|
|
public List<Song.Entities.Guide> guides;
|
|
|
|
//是否购买了当前课程
|
|
public bool isBuy;
|
|
}
|
|
}
|