using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VideoAnalysisCore.Model.蓝鲸智库 { [SugarTable(TableDescription = "课程表", TableName = "courseinfo")] [Tenant("1001")] public class CourseInfo { /// /// 主键Id 这里使用数据来源Id /// [SugarColumn(IsPrimaryKey = true, ColumnDescription = "Id 主键", ColumnName = "id")] //设置主键 public long Id { get; set; } /// /// 学科Id /// [SugarColumn(ColumnDescription = "学科Id", ColumnName = "subject_id")] public long Subject_Id { get; set; } /// /// 课程名称 /// [SugarColumn(ColumnDataType = "varchar(500)", ColumnDescription = "课程名称", ColumnName = "name")] public string Name { get; set; } /// /// 学段ID /// [SugarColumn(ColumnDescription = "学段ID", ColumnName = "stage_id", IsNullable = true)] public long? Stage_Id { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnDescription = "学科网数据创建时间", ColumnName = "create_time", IsNullable = true)] public DateTime? Create_Time { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnDescription = "学科网数据更新时间", ColumnName = "update_time", IsNullable = true)] public DateTime? Update_Time { get; set; } } }