using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace VideoAnalysisCore.Model.蓝鲸智库
{
///
/// 文件内容表
///
[SugarTable("FileContent")]
[Tenant("1002")]
public partial class FileContent
{
public FileContent()
{
Sort = Convert.ToInt32("0");
CreateTime = DateTime.Now;
DeleteState = false;
}
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public long Id { get; set; }
///
/// Desc:内容名称
/// Default:
/// Nullable:False
///
[SugarColumn(ColumnDescription = "内容名称", ColumnDataType = "nvarchar(500)", IsNullable = false)]
public string FileName { get; set; }
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnDescription = "学校id", IsNullable = true)]
public long? SchoolId { get; set; }
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnDescription = "学校名称", ColumnDataType = "nvarchar(100)", IsNullable = true)]
public string SchoolName { get; set; }
///
/// Desc:年级
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnDescription = "年级", ColumnDataType = "nvarchar(30)", IsNullable = true)]
public string GradeName { get; set; }
///
/// Desc:科目
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnDescription = "科目", IsNullable = true)]
public int? SubjectId { get; set; }
///
/// Desc:
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnDescription = "科目名称", ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string SubjectName { get; set; }
///
/// Desc:文件系统目录id
/// Default:
/// Nullable:False
///
[SugarColumn(ColumnDescription = "件系统目录id", IsNullable = false)]
public long FileDirectoryId { get; set; }
///
/// Desc:
/// Default:0
/// Nullable:False
///
[SugarColumn(ColumnDescription = "排序", IsNullable = false, DefaultValue = "0")]
public int Sort { get; set; }
public DateTime CreateTime { get; set; }
public bool DeleteState { get; set; }
///
/// Desc:文件包Id
/// Default:
/// Nullable:False
///
[SugarColumn(ColumnDescription = "文件包id", IsNullable = false)]
public long BagId { get; set; }
///
/// Desc:作者
/// Default:
/// Nullable:True
///
[SugarColumn(ColumnDescription = "作者", ColumnDataType = "nvarchar(200)", IsNullable = true)]
public string Author { get; set; }
///
/// 是否可以下载
///
public bool DownState { get; set; }
///
/// 管理员id
///
[SugarColumn(ColumnDescription = "管理员id", IsNullable = true)]
public long? AdminId { get; set; }
///
/// 管理员角色id
///
[SugarColumn(ColumnDescription = "管理员角色id", IsNullable = true)]
public long? AdminRoleId { get; set; }
}
}