AttachmentDto.cs 956 B

12345678910111213141516171819202122232425262728293031
  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 long? FileSize { get; set; }
  15. public string? CreateDate { get; set; }
  16. public string? CreateUser { get; set; }
  17. public string? CreatedUserName { get; set; }
  18. public string? ProfileImage { get; set; }
  19. public string? OriginalName { get; set; }
  20. public string? FilePath { get; set; }
  21. public byte[]? Content { get; set; }
  22. public string? ContentType { get; set; }
  23. }
  24. }