129 lines
3.8 KiB
C#
129 lines
3.8 KiB
C#
using System;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using SqlSugar;
|
|
using VideoAnalysisCore.Interface;
|
|
|
|
namespace App.Model
|
|
{
|
|
///<summary>
|
|
/// 文件内容表
|
|
///</summary>
|
|
[SugarTable("FileContent")]
|
|
[Tenant("1002")]
|
|
public partial class FileContent
|
|
{
|
|
public FileContent(){
|
|
|
|
this.Sort =Convert.ToInt32("0");
|
|
this.CreateTime =DateTime.Now;
|
|
this.DeleteState =false;
|
|
|
|
}
|
|
|
|
[SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
|
|
public long Id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:内容名称
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "内容名称", ColumnDataType = "nvarchar(500)", IsNullable = false)]
|
|
public string FileName {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "学校id", IsNullable = true)]
|
|
public long? SchoolId {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "学校名称", ColumnDataType = "nvarchar(100)", IsNullable = true)]
|
|
public string SchoolName {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:年级
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "年级", ColumnDataType = "nvarchar(30)", IsNullable = true)]
|
|
public string GradeName {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:科目
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "科目", IsNullable = true)]
|
|
|
|
public int? SubjectId {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "科目名称", ColumnDataType = "nvarchar(50)", IsNullable = true)]
|
|
public string SubjectName {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:文件系统目录id
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "件系统目录id", IsNullable = false)]
|
|
public long FileDirectoryId {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:0
|
|
/// Nullable:False
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "排序", IsNullable = false, DefaultValue = "0")]
|
|
public int Sort {get;set;}
|
|
|
|
|
|
public DateTime CreateTime {get;set;}
|
|
|
|
public bool DeleteState {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:文件包Id
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "文件包id", IsNullable = false)]
|
|
public long BagId {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:作者
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "作者", ColumnDataType = "nvarchar(200)", IsNullable = true)]
|
|
public string Author {get;set;}
|
|
|
|
/// <summary>
|
|
/// 是否可以下载
|
|
/// </summary>
|
|
public bool DownState { 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; }
|
|
}
|
|
}
|