AttachmentDto.cs 508 B

123456789101112131415161718192021
  1. using Microsoft.AspNetCore.Http;
  2. using MTWorkHR.Core.Entities.Base;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. namespace MTWorkHR.Application.Models
  6. {
  7. public class AttachmentDto
  8. {
  9. public long AttachmentTypeId { get; set; }
  10. public string? AttachmentTypeName { get; set; }
  11. public IFormFile? FileData { get; set; }
  12. public string FileName { get; set; }
  13. public string OriginalName { get; set; }
  14. }
  15. }