AttachmentDto.cs 752 B

1234567891011121314151617181920212223242526
  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? CreateDate { get; set; }
  15. public string? OriginalName { get; set; }
  16. public string? FilePath { get; set; }
  17. public byte[]? Content { get; set; }
  18. public string? ContentType { get; set; }
  19. }
  20. }