1234567891011121314151617181920212223242526 |
- using MTWorkHR.Core.Entities.Base;
- using System.ComponentModel.DataAnnotations.Schema;
- using System.ComponentModel.DataAnnotations;
- namespace MTWorkHR.Core.Entities
- {
- public class UserTaskAttachment : AuditEntity
- {
- public long TaskId { get; set; }
- [ForeignKey("TaskId ")]
- public UserTask UserTask { 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; }
- }
- }
|