ContractTaskAttachmentDto.cs 684 B

1234567891011121314151617181920212223242526
  1. using MTWorkHR.Core.Entities.Base;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. using System.ComponentModel.DataAnnotations;
  4. using Microsoft.AspNetCore.Http;
  5. namespace MTWorkHR.Application.Models
  6. {
  7. public class ContractTaskAttachmentDto : EntityDto
  8. {
  9. public long ContractTaskId { get; set; } = 0;
  10. public long? AttachmentTypeId { get; set; }
  11. [MaxLength(250)]
  12. public string? FileName { get; set; }
  13. [MaxLength(250)]
  14. public string? OriginalName { get; set; }
  15. public IFormFile? FileData { get; set; }
  16. public string? FilePath { get; set; }
  17. public string? ContentType { get; set; }
  18. }
  19. }