Company.cs 941 B

123456789101112131415161718192021222324252627282930313233343536
  1. using MTWorkHR.Core.Entities.Base;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace MTWorkHR.Core.Entities
  9. {
  10. public class Company : FullAuditEntity
  11. {
  12. public string UserId { get; set; }
  13. [Filter]
  14. public string CompanyName { get; set; }
  15. [Filter]
  16. public string CRNumber { get; set; }
  17. public int TaxNumber { get; set; }
  18. public string PhoneNumber { get; set; }
  19. public string Address { get; set; }
  20. public string Email { get; set; }
  21. public bool IsSuspended { get; set; }
  22. public long? CountryId { get; set; }
  23. [ForeignKey("CountryId")]
  24. public CountryLookup? Country { get; set; }
  25. public long? CityId { get; set; }
  26. [ForeignKey("CityId")]
  27. public City? City { get; set; }
  28. }
  29. }