TaskUser.cs 566 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using MTWorkHR.Core.Entities.Base;
  9. namespace MTWorkHR.Core.Entities
  10. {
  11. public class TaskUser : AuditEntity
  12. {
  13. public long TaskId{ get; set; }
  14. [ForeignKey("TaskId")]
  15. public UserTask? UserTask { get; set; }
  16. public string AssignedUserId { get; set; }
  17. public string? AssignedUserName { get; set; }
  18. }
  19. }