46 lines
1.6 KiB
C#
46 lines
1.6 KiB
C#
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
|
|
{
|
|
/// <summary>
|
|
/// 主键Id 这里使用数据来源Id
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, ColumnDescription = "Id 主键", ColumnName = "id")] //设置主键
|
|
public long Id { get; set; }
|
|
/// <summary>
|
|
/// 学科Id
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "学科Id", ColumnName = "subject_id")]
|
|
public long Subject_Id { get; set; }
|
|
/// <summary>
|
|
/// 课程名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(500)", ColumnDescription = "课程名称", ColumnName = "name")]
|
|
public string Name { get; set; }
|
|
/// <summary>
|
|
/// 学段ID
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "学段ID", ColumnName = "stage_id", IsNullable = true)]
|
|
public long? Stage_Id { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "学科网数据创建时间", ColumnName = "create_time", IsNullable = true)]
|
|
public DateTime? Create_Time { get; set; }
|
|
/// <summary>
|
|
/// 更新时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "学科网数据更新时间", ColumnName = "update_time", IsNullable = true)]
|
|
public DateTime? Update_Time { get; set; }
|
|
}
|
|
}
|