43 lines
1.4 KiB
C#
43 lines
1.4 KiB
C#
namespace LMS.Repository.FileUpload
|
|
{
|
|
public class FileRequestReturn
|
|
{
|
|
public class FileMachineRequestReturn
|
|
{
|
|
public string MachineId { get; set; }
|
|
public string FileName { get; set; }
|
|
public long FileSize { get; set; }
|
|
public string ContentType { get; set; }
|
|
|
|
public string Hash { get; set; }
|
|
|
|
public string Url { get; set; }
|
|
|
|
public DateTime UploadTime { get; set; }
|
|
|
|
public DateTime CreatedAt { get; set; }
|
|
/// <summary>
|
|
/// 删除时间 ,默认为最大值,表示未不删除
|
|
/// </summary>
|
|
public DateTime DeleteTime { get; set; } = DateTime.MaxValue;
|
|
}
|
|
|
|
public class FileUserRequestReturn
|
|
{
|
|
public long Id { get; set; }
|
|
public long UserId { get; set; }
|
|
public string FileName { get; set; }
|
|
public long FileSize { get; set; }
|
|
public string ContentType { get; set; }
|
|
public string Hash { get; set; }
|
|
public string Url { get; set; }
|
|
public DateTime UploadTime { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
/// <summary>
|
|
/// 删除时间 ,默认为最大值,表示未不删除
|
|
/// </summary>
|
|
public DateTime DeleteTime { get; set; } = DateTime.MaxValue;
|
|
}
|
|
}
|
|
}
|