12345678910111213141516171819202122232425262728 |
- using MTWorkHR.Core.Entities.Base;
- using System.ComponentModel.DataAnnotations.Schema;
- using System.ComponentModel.DataAnnotations;
- namespace MTWorkHR.Application.Models
- {
- public class ContractTaskAttachmentDto : EntityDto
- {
- public long ContractTaskId { get; set; }
- public long? AttachmentTypeId { get; set; }
- [ForeignKey("AttachmentTypeId")]
- public AttachmentType AttachmentType { get; set; }
- [MaxLength(250)]
- public string? FileName { get; set; }
- [MaxLength(250)]
- public string? OriginalName { get; set; }
- public byte[] Content { get; set; }
- public string? FilePath { get; set; }
- public string? ContentType { get; set; }
- }
- }
|