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