Contract.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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.Infrastructure.Entities
  9. {
  10. public class Contract : FullAuditEntity, IHaveCompany
  11. {
  12. public string FirstName { get; set; }
  13. public string MiddleName { get; set; }
  14. public string LastName { get; set; }
  15. public string Email { get; set; }
  16. public int Nationality { get; set; }
  17. public int LivingCountry { get; set; }
  18. public bool IsVisaNeeded { get; set; } = false;
  19. public string? EducationLevel { get; set; }
  20. public string? LinkedInLink { get; set; }
  21. public int? NoOfDependent { get; set; }
  22. //Job Details-----------------
  23. public string? SeniorityLevel { get; set; }
  24. public string? JobTitle { get; set; }
  25. public string? JobScope { get; set; }
  26. //Compensation----------------------
  27. public decimal? GrossAnnualBaseSalary { get; set; }
  28. public bool? AddSigningBonus { get; set; }
  29. public bool? AddAnnualVariableCompensation { get; set; }
  30. public bool? FixedAllowances { get; set; }
  31. public DateTime? StartDate { get; set; }
  32. public bool FullTime { get; set; } = true; //full-time that will be 40 hours , part-time will be add it manually
  33. public int EmployeeTypeHours { get; set; } = 40; //full-time that will be 40 hours , part-time will be add it manually
  34. public int PaidVacationDays { get; set; }
  35. public int SickDays { get; set; }
  36. public bool EmploymentTerms { get; set; }
  37. public int ProbationPeriod { get; set; }
  38. public int Gender { get; set; }
  39. public DateTime? DateOfBirth { get; set; }
  40. public bool IsSkilled { get; set; }
  41. public long CompanyId { get ; set; }
  42. }
  43. }