// // Copyright (c) 2019 openauth.net.cn. All rights reserved. // // www.cnblogs.com/yubaolee // 2019-03-07 // 附加实体 using System; using System.ComponentModel.DataAnnotations.Schema; using OpenAuth.Repository.Core; namespace OpenAuth.Repository.Domain { /// /// 文件 /// [Table("UploadFile")] public partial class UploadFile : StringEntity { public UploadFile() { this.FileName= string.Empty; this.FilePath= string.Empty; this.Description= string.Empty; this.FileType= string.Empty; this.Extension= string.Empty; this.SortCode= 0; this.CreateUserName= string.Empty; this.CreateTime= DateTime.Now; this.Thumbnail= string.Empty; this.BelongApp= string.Empty; this.BelongAppId= string.Empty; } /// /// 文件名称 /// public string FileName { get; set; } /// /// 文件路径 /// public string FilePath { get; set; } /// /// 描述 /// public string Description { get; set; } /// /// 文件类型 /// public string FileType { get; set; } /// /// 文件大小 /// public int? FileSize { get; set; } /// /// 扩展名称 /// public string Extension { get; set; } /// /// 是否可用 /// public bool Enable { get; set; } /// /// 排序 /// public int SortCode { get; set; } /// /// 删除标识 /// public bool DeleteMark { get; set; } /// /// 上传人 /// public System.Guid? CreateUserId { get; set; } /// /// 上传人姓名 /// public string CreateUserName { get; set; } /// /// 上传时间 /// public System.DateTime CreateTime { get; set; } /// /// 缩略图 /// public string Thumbnail { get; set; } /// /// 所属应用 /// public string BelongApp { get; set; } /// /// 所属应用ID /// public string BelongAppId { get; set; } } }