AttachmentDto.cs 564 B

12345678910111213141516171819202122
  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 : EntityDto
  8. {
  9. public long? AttachmentTypeId { get; set; }
  10. public long TaskId { get; set; }
  11. public string? AttachmentTypeName { get; set; }
  12. public IFormFile? FileData { get; set; }
  13. public string? FileName { get; set; }
  14. public string? OriginalName { get; set; }
  15. }
  16. }