1234567891011121314151617181920212223242526 |
- using MTWorkHR.Core.Entities.Base;
- using System.ComponentModel.DataAnnotations.Schema;
- using System.ComponentModel.DataAnnotations;
- using Microsoft.AspNetCore.Http;
- namespace MTWorkHR.Application.Models
- {
- public class ContractTaskAttachmentDto : EntityDto
- {
- public long ContractTaskId { get; set; } = 0;
- public long? AttachmentTypeId { get; set; }
-
- [MaxLength(250)]
- public string? FileName { get; set; }
- [MaxLength(250)]
- public string? OriginalName { get; set; }
- public IFormFile? FileData { get; set; }
- public string? FilePath { get; set; }
- public string? ContentType { get; set; }
- }
- }
|