Project.cs 662 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using MTWorkHR.Core.Entities.Base;
  8. namespace MTWorkHR.Core.Entities
  9. {
  10. public class Project : FullAuditEntity, IHaveCompany
  11. {
  12. [Required]
  13. [MaxLength(250)]
  14. [Filter]
  15. public string NameAr { get; set; }
  16. [Required]
  17. [MaxLength(250)]
  18. [Filter]
  19. public string NameEn { get; set; }
  20. public string Desc { get; set; }
  21. public long CompanyId { get; set; }
  22. public List<ProjectTeam>? ProjectTeams { get; set; }
  23. }
  24. }