using SqlSugar;
using Yi.Framework.Infrastructure.Data.Auditing;
using Yi.Framework.Infrastructure.Ddd.Entities;
namespace Yi.Framework.Module.FileManager
{
///
/// 文件表
///
[SugarTable("File")]
public class FileEntity : IEntity, IAuditedObject
{
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]
public long Id { get; set; }
///
/// 文件类型
///
[SugarColumn(ColumnName = "FileContentType")]
public string? FileContentType { get; set; }
///
/// 文件大小
///
[SugarColumn(ColumnName = "FileSize")]
public decimal FileSize { get; set; }
///
/// 文件名
///
[SugarColumn(ColumnName = "FileName")]
public string FileName { get; set; }
///
/// 文件路径
///
[SugarColumn(ColumnName = "FilePath")]
public string FilePath { get; set; }
public DateTime CreationTime { get; set; }
public long? CreatorId { get; set; }
public long? LastModifierId { get; set; }
public DateTime? LastModificationTime { get; set; }
}
}