Learn.VideoAnalysis/VideoAnalysisCore/Model/蓝鲸智库/KnowledgeInfo.cs

50 lines
2.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 SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VideoAnalysisCore.Model.
{
/// <summary>
/// 蓝鲸智库 知识点表
/// </summary>
[SugarTable("knowledgeinfo_hy")]
[Tenant("1001")]
public class KnowledgeInfo
{
[SugarColumn(IsPrimaryKey = true, ColumnDescription = "Id 主键", ColumnName = "id")]
public long Id { get; set; }
[SugarColumn(ColumnDescription = "自己数据库Id", ColumnName = "thisid")]
public long ThisId { get; set; }
[SugarColumn(InsertServerTime = true, ColumnDescription = "创建时间", ColumnName = "createtime")]
public DateTime CreateTime { get; set; }
[SugarColumn(UpdateServerTime = true, InsertServerTime = true, IsNullable = true, ColumnDescription = "更新时间", ColumnName = "updatetime")]
public DateTime UpdateTime { get; set; }
[SugarColumn(ColumnDescription = "是否删除 true=删除", DefaultValue = "false", ColumnName = "deletestate")]
public bool DeleteState { get; set; }
[SugarColumn(ColumnDescription = "排序", ColumnName = "ordinal", DefaultValue = "0")]
public int Ordinal { get; set; }
[SugarColumn(ColumnDataType = "nvarchar(200)", ColumnDescription = "知识点名称", ColumnName = "name", IsNullable = true)]
public string Name { get; set; }
[SugarColumn(ColumnDescription = "节点深度一级节点的深度为1二级节点的深度为2以此类推。", ColumnName = "depth", IsNullable = true)]
public long Depth { get; set; }
[SugarColumn(ColumnDescription = "适用于精简版", ColumnName = "for_lite", IsNullable = true)]
public bool For_Lite { get; set; }
[SugarColumn(ColumnDescription = "父节点ID", ColumnName = "parent_id", IsNullable = true)]
public long Parent_Id { get; set; }
[SugarColumn(ColumnDescription = "root节点的ID", ColumnName = "root_id", IsNullable = true)]
public long Root_Id { get; set; }
[SugarColumn(ColumnDataType = "nvarchar(100)", ColumnDescription = "节点类型可用值NODE、KNOWLEDGE_POINT、TESTING_POINT分别代表普通节点、知识点、考点。", ColumnName = "type", IsNullable = true)]
public string Type { get; set; }
[SugarColumn(ColumnDescription = "课程ID", ColumnName = "course_id", IsNullable = true)]
public long Course_Id { get; set; }
[SugarColumn(InsertServerTime = true, ColumnDescription = "学科网创建时间", ColumnName = "create_time", IsNullable = true)]
public DateTime Create_Time { get; set; }
}
}