UserTaskHistory.cs 757 B

1234567891011121314151617181920212223242526272829
  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 long AssignedToUserId { get; set; }
  15. [MaxLength(500)]
  16. [Filter]
  17. public string? Comment { get; set; }
  18. public long TaskId { get; set; }
  19. public long CurrentStatusId { get; set; }
  20. [ForeignKey("CurrentStatusId")]
  21. public UserTaskStatus? TaskStatus { get; set; }
  22. public bool IsDeleted { get; set; } = false;
  23. }
  24. }