UserTaskHistory.cs 839 B

12345678910111213141516171819202122232425262728293031
  1. using MTWorkHR.Core.Entities.Base;
  2. using MTWorkHR.Core.Global;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.ComponentModel.DataAnnotations.Schema;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace MTWorkHR.Core.Entities
  11. {
  12. public class UserTaskHistory : AuditEntity
  13. {
  14. public string? AssignedToUserId { get; set; }
  15. [MaxLength(500)]
  16. [Filter]
  17. public string? Comment { get; set; }
  18. public long TaskId { get; set; }
  19. [ForeignKey("TaskId ")]
  20. public UserTask UserTask { get; set; }
  21. public long CurrentStatusId { get; set; }
  22. [ForeignKey("CurrentStatusId")]
  23. public UserTaskStatus? TaskStatus { get; set; }
  24. public bool IsDeleted { get; set; } = false;
  25. }
  26. }