30 lines
920 B
C#
30 lines
920 B
C#
using FileService.Domain;
|
|
using FileService.Domain.ValueObjects;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FileService.Application.UploadFile
|
|
{
|
|
public class FileResponse
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid OwnerId { get; set; }
|
|
public FileName FileName { get; set; }
|
|
public long FileSize { get; set; }
|
|
public ContentType ContentType { get; set; }
|
|
public FileState State { get; set; }
|
|
public StorageLocation StorageLocation { get; set; }
|
|
public CheckSum CheckSum { get; set; }
|
|
public DateTimeOffset Created { get; set; }
|
|
public DateTimeOffset Updated { get; set; }
|
|
|
|
/// <summary>
|
|
/// 公开直链;私有文件为 null,需走鉴权下载接口。
|
|
/// </summary>
|
|
public string? Url { get; set; }
|
|
}
|
|
}
|