TeamUserDto.cs 501 B

12345678910111213141516171819
  1. using Microsoft.AspNetCore.Http;
  2. using MTWorkHR.Core.Entities;
  3. using MTWorkHR.Core.Entities.Base;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.ComponentModel.DataAnnotations.Schema;
  6. namespace MTWorkHR.Application.Models
  7. {
  8. public class TeamUserDto : EntityDto
  9. {
  10. public long TeamId { get; set; }
  11. public bool IsAdmin{ get; set; }
  12. [Required]
  13. public string AssignedUserId { get; set; }
  14. public string? AssignedUserName { get; set; }
  15. }
  16. }