TeamAllDto.cs 624 B

1234567891011121314151617181920212223242526
  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 TeamAllDto
  9. {
  10. public long Id { get; set; }
  11. [Required]
  12. [MaxLength(250)]
  13. [Filter]
  14. public string NameAr { get; set; }
  15. [Required]
  16. [MaxLength(250)]
  17. [Filter]
  18. public string NameEn { get; set; }
  19. public int TeamUserCount { get; set; }
  20. public string? CreateUser { get; set; }
  21. }
  22. }