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

111 lines
3.5 KiB
C#
Raw Permalink 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("Material")]
[Tenant("1002")]
public partial class Material
{
public Material()
{
TagId = Convert.ToInt64("0");
CreateTime = DateTime.Now;
DeleteState = false;
DownState = false;
}
[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 MaterialNo { get; set; }
/// <summary>
/// Desc:素材类型1视频2 文件3音频4图片
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(ColumnDescription = "素材类型1视频2 文件3音频4图片", IsNullable = false)]
public int MaterialType { get; set; }
/// <summary>
/// Desc:标签Id
/// Default:0
/// Nullable:False
/// </summary>
[SugarColumn(ColumnDescription = "素标签Id", IsNullable = false, DefaultValue = "0")]
public long TagId { get; set; }
/// <summary>
/// Desc:素材名称
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(ColumnDescription = "素材名称", ColumnDataType = "nvarchar(500)", IsNullable = false)]
public string MaterialName { get; set; }
/// <summary>
/// Desc:附件id
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(ColumnDescription = "附件id", IsNullable = false)]
public long AttachmentsId { get; set; }
/// <summary>
/// Desc:
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnDescription = "内容", ColumnDataType = "nvarchar(max)", IsNullable = true)]
public string Desc { get; set; }
public DateTime CreateTime { get; set; }
public bool DeleteState { get; set; }
/// <summary>
/// 新增用户id
/// </summary>
[SugarColumn(ColumnDescription = "新增用户id")]
public long CreateUserId { get; set; }
/// <summary>
/// Desc:新增用户名称
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(ColumnDescription = "新增用户名称", ColumnDataType = "nvarchar(50)")]
public string CreateUserName { get; set; }
[SugarColumn(ColumnDescription = "学校id", IsNullable = true)]
public long SchoolId { get; set; }
[SugarColumn(ColumnDescription = "学校名称", ColumnDataType = "nvarchar(50)", IsNullable = true)]
public string SchoolName { get; set; }
/// <summary>
/// 是否可以下载
/// </summary>
[SugarColumn(ColumnDescription = "是否可以下载", DefaultValue = "0")]
public bool DownState { get; set; }
/// <summary>
/// 新增用户角色id
/// </summary>
[SugarColumn(ColumnDescription = "新增用户角色id", IsNullable = true)]
public long AdminRoleId { get; set; }
}
}