UserTaskDto.cs 989 B

1234567891011121314151617181920212223242526272829
  1. using MTWorkHR.Core.Entities;
  2. using MTWorkHR.Core.Global;
  3. using System.ComponentModel.DataAnnotations;
  4. namespace MTWorkHR.Application.Models
  5. {
  6. public class UserTaskDto : EntityDto
  7. {
  8. public string AssignedUserId { get; set; }
  9. public string? AssignedUserName { get; set; }
  10. public string? ProfileImage { get; set; }
  11. [Required]
  12. public string Title { get; set; }
  13. public string Description { get; set; }
  14. public DateTime DueDate { get; set; }
  15. public PriorityEnum? Priority { get; set; }
  16. [Required]
  17. public int ProjectId { get; set; }
  18. [Required]
  19. public long StatusId { get; set; }
  20. // public List<string>? TaskUserIds { get; set; }
  21. public List<AttachmentDto>? TaskAttachments { get; set; }
  22. public List<UserTaskHistoryDto>? TaskHistories { get; set; }
  23. // public List<TaskUserDto>? TaskUsers { get; set; }
  24. public string? CreateUser { get; set; }
  25. }
  26. }