UserTaskHistory.cs 696 B

123456789101112131415161718192021222324252627
  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. public string Comment { get; set; }
  17. public long CurrentStatusId { get; set; }
  18. [ForeignKey("CurrentStatusId")]
  19. public UserTaskStatus TaskStatus { get; set; }
  20. public bool IsDeleted { get; set; }
  21. }
  22. }