mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 09:11:10 +00:00
Replaces MVC with FastEndpoints in Lumina.Presentation.Api
This commit is contained in:
1 parent
b1a20716df
commit
c7b8bc2f1c
519 files changed
+15329
-8539
No files matched your search
@@ -0,0 +1,24 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Contracts.Entities.FileSystemManagement;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Contracts.Responses.FileSystemManagement.Files;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a response containing a file system file.
|
||||
/// </summary>
|
||||
/// <param name="Path">The path of the file.</param>
|
||||
/// <param name="Name">The name of the file.</param>
|
||||
/// <param name="DateCreated">The creation date of the file.</param>
|
||||
/// <param name="DateModified">The modification date of the file.</param>
|
||||
/// <param name="Size">The size of the file, in bytes.</param>
|
||||
[DebuggerDisplay("Name: {Name} (File, Size: {Size} bytes)")]
|
||||
public record FileResponse(
|
||||
string Path,
|
||||
string Name,
|
||||
DateTime DateCreated,
|
||||
DateTime DateModified,
|
||||
long Size
|
||||
) : FileSystemItemEntity(Path, Name, DateCreated, DateModified);
|
||||
Reference in new issue
Block a user