TeamDto.cs 660 B

12345678910111213141516171819202122232425
  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 TeamDto : EntityDto
  9. {
  10. [Required]
  11. [MaxLength(250)]
  12. [Filter]
  13. public string NameAr { get; set; }
  14. [Required]
  15. [MaxLength(250)]
  16. [Filter]
  17. public string NameEn { get; set; }
  18. public List<string>? TeamUserIds { get; set; }
  19. public List<TeamUserDto>? TeamUsers { get; set; }
  20. public string? CreateUser { get; set; }
  21. }
  22. }