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

163 lines
5.1 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 System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace VideoAnalysisCore.Model.
{
///<summary>
/// 文件目录表
///</summary>
[SugarTable("FileDirectory")]
[Tenant("1002")]
public partial class FileDirectory
{
public FileDirectory()
{
State = Convert.ToInt32("1");
IsCheckedSelect = true;
IsLastNode = false;
ParentId = Convert.ToInt64("0");
CreateTime = DateTime.Now;
DeleteState = false;
AliasName = Convert.ToString("");
IsPublic = false;
Types = Convert.ToInt32("-1");
Code = Convert.ToString("");
}
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public long Id { get; set; }
/// <summary>
/// Desc:名称
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(ColumnDescription = "名称", ColumnDataType = "nvarchar(50)", IsNullable = false)]
public string Name { get; set; }
/// <summary>
/// Desc:排序
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(ColumnDescription = "排序", IsNullable = false)]
public int Sort { get; set; }
/// <summary>
/// Desc:结构状态 1=显示
/// Default:1
/// Nullable:False
/// </summary>
[SugarColumn(ColumnDescription = "结构状态 1=显示", IsNullable = false, DefaultValue = "1")]
public int State { get; set; }
/// <summary>
/// Desc:是否自动授权
/// Default:1
/// Nullable:False
/// </summary>
[SugarColumn(ColumnDescription = "是否自动授权", IsNullable = false, DefaultValue = "1")]
public bool IsCheckedSelect { get; set; }
/// <summary>
/// Desc:是否最后一级节点
/// Default:0
/// Nullable:False
/// </summary>
[SugarColumn(ColumnDescription = "是否最后一级节点", IsNullable = false, DefaultValue = "0")]
public bool IsLastNode { get; set; }
/// <summary>
/// Desc:上级id
/// Default:0
/// Nullable:False
/// </summary>
[SugarColumn(ColumnDescription = "上级id", IsNullable = false, DefaultValue = "0")]
public long ParentId { get; set; }
public DateTime CreateTime { get; set; }
public bool DeleteState { get; set; }
/// <summary>
/// Desc:别名
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(ColumnDescription = "别名", ColumnDataType = "nvarchar(50)", IsNullable = false)]
public string AliasName { get; set; }
/// <summary>
/// Desc:是否公开
/// Default:0
/// Nullable:True
/// </summary>
[SugarColumn(ColumnDescription = "是否公开", IsNullable = true, DefaultValue = "0")]
public bool? IsPublic { get; set; }
/// <summary>
/// Desc:其他=-1目录=0,课程=1,章=2,节=3
/// Default:-1
/// Nullable:True
/// </summary>
[SugarColumn(ColumnDescription = "其他=-1目录=0,课程=1,章=2,节=3", IsNullable = true, DefaultValue = "-1")]
public int? Types { get; set; }
/// <summary>
/// Desc:
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
public DateTime? UpdateTime { get; set; }
/// <summary>
/// Desc:课程id来源courseinfo
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnDescription = "课程id来源courseinfo", IsNullable = true)]
public long? CourseId { get; set; }
/// <summary>
/// Desc:教材版本id来源 textboox_versions
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnDescription = "教材版本id来源 textboox_versions", IsNullable = true)]
public long? VersionsId { get; set; }
/// <summary>
/// Desc:
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnDescription = "", ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string Code { get; set; }
/// <summary>
/// Desc:根节点id
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnDescription = "根节点id", IsNullable = true)]
public long? RootId { get; set; }
/// <summary>
/// 管理员id
/// </summary>
[SugarColumn(ColumnDescription = "管理员id", IsNullable = true)]
public long? AdminId { get; set; }
/// <summary>
/// 管理员角色id
/// </summary>
[SugarColumn(ColumnDescription = "管理员角色id", IsNullable = true)]
public long? AdminRoleId { get; set; }
}
}