StorageServer/Models/Response/FileListResponseModel.cs
2024-03-24 10:29:56 +09:00

21 lines
585 B
C#

namespace StorageServer.Models.Response;
public class FileListResponseModel {
public FileListResponseModel() {}
public FileListResponseModel(FileModel model) {
this.FileID = model.FileID;
this.FileName = model.FileName;
this.MimeType = model.MimeType;
this.HashValue = model.HashValue;
this.CreatedAt = model.CreatedAt;
}
public long FileID { get; set; }
public string FileName { get; set; }
public string MimeType { get; set; }
public string HashValue { get; set; }
public DateTime CreatedAt { get; set; }
}