UserTaskDto.cs 838 B

123456789101112131415161718192021222324252627
  1. using Microsoft.AspNetCore.Http;
  2. using MTWorkHR.Core.Entities;
  3. using MTWorkHR.Core.Entities.Base;
  4. using MTWorkHR.Core.Global;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.ComponentModel.DataAnnotations.Schema;
  7. namespace MTWorkHR.Application.Models
  8. {
  9. public class UserTaskDto : EntityDto
  10. {
  11. public long AssignedUserId { get; set; }
  12. public string? AssignedUserName { get; set; }
  13. public string Title { get; set; }
  14. public string Description { get; set; }
  15. public DateTime DueDate { get; set; }
  16. public PriorityEnum Priority { get; set; }
  17. public int ProjectId { get; set; }
  18. public long StatusId { get; set; }
  19. public List<AttachmentDto> TaskAttachments { get; set; }
  20. public List<UserTaskHistoryDto> UserTaskHistories { get; set; }
  21. }
  22. }