31 lines
822 B
C#
31 lines
822 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SPMS.Application.DTOs.File;
|
|
|
|
public class FileInfoResponseDto
|
|
{
|
|
[JsonPropertyName("file_id")]
|
|
public long FileId { get; set; }
|
|
|
|
[JsonPropertyName("service_code")]
|
|
public string ServiceCode { get; set; } = string.Empty;
|
|
|
|
[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("uploaded_by")]
|
|
public string UploadedBy { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("created_at")]
|
|
public DateTime CreatedAt { get; set; }
|
|
}
|