using System;
using System.ComponentModel.DataAnnotations.Schema;
using Znyc.Recruitment.Admin.Commons.Entitys;
namespace Znyc.Recruitment.Admin.Security.Entitys
{
///
/// 文件
///
[Table("sys_uploadfile")]
public class UploadFileEntity : BaseEntity, ICreationAudited
{
///
///
public UploadFileEntity()
{
Id = 0;
FileName = string.Empty;
FilePath = string.Empty;
Description = string.Empty;
FileType = string.Empty;
Extension = string.Empty;
SortCode = 0;
CreatedTime = DateTime.Now;
Thumbnail = string.Empty;
BelongApp = string.Empty;
BelongAppId = string.Empty;
IsDeleted = false;
}
///
/// 文件名称
///
public string FileName { get; set; }
///
/// 文件路径
///
public string FilePath { get; set; }
///
/// 描述
///
public string Description { get; set; }
///
/// 文件类型
///
public string FileType { get; set; }
///
/// 文件大小
///
public long FileSize { get; set; }
///
/// 扩展名称
///
public string Extension { get; set; }
///
/// 排序
///
public long SortCode { get; set; }
///
/// 有效标志
///
public virtual bool? IsEnabled { get; set; }
///
/// 缩略图
///
public string Thumbnail { get; set; }
///
/// 所属应用
///
public string BelongApp { get; set; }
///
/// 所属应用ID
///
public string BelongAppId { get; set; }
}
}