Files
2025-10-27 16:23:06 +11:00

30 lines
663 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FamilyTreeAPI.Entities;
public class FileContent
{
public byte[] Content { get; set; }
public string FileName { get; set; }
public string ContentType { get; set; }
}
public class DownloadFileCriteria
{
public string FileName { get; set; }
public int Id { get; set; }
}
public class UploadCriteria
{
public string FileName { get; set; }
public int PersonId { get; set; }
public IFormFile File { get; set; }
}
public class DeleteFileCriteria
{
public int Id { get; set; }
public string Filename { get; set; }
}