TeamDto.cs 605 B

123456789101112131415161718192021222324
  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<TeamUserDto>? TeamUsers { get; set; }
  19. public string? CreateUser { get; set; }
  20. }
  21. }