Company.cs 895 B

1234567891011121314151617181920212223242526272829303132333435
  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 long? CountryId { get; set; }
  22. [ForeignKey("CountryId")]
  23. public CountryLookup? Country { get; set; }
  24. public long? CityId { get; set; }
  25. [ForeignKey("CityId")]
  26. public City? City { get; set; }
  27. }
  28. }