25 lines
626 B
C#
25 lines
626 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SPMS.Application.DTOs.File;
|
|
|
|
public class FileUploadResponseDto
|
|
{
|
|
[JsonPropertyName("file_id")]
|
|
public long FileId { get; set; }
|
|
|
|
[JsonPropertyName("file_name")]
|
|
public string FileName { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("file_url")]
|
|
public string FileUrl { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("file_size")]
|
|
public long FileSize { get; set; }
|
|
|
|
[JsonPropertyName("file_type")]
|
|
public string FileType { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("created_at")]
|
|
public DateTime CreatedAt { get; set; }
|
|
}
|