1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- using MTWorkHR.Core.Entities.Base;
- using System.ComponentModel.DataAnnotations.Schema;
- using System.ComponentModel.DataAnnotations;
- using MTWorkHR.Core.Entities;
- using MTWorkHR.Core.Global;
- using Newtonsoft.Json;
- namespace MTWorkHR.Infrastructure.Entities
- {
- public class ContractDetail2
- {
- public ContractTypeEnum ContractTypeId { get; set; }
- public ContractStatusEnum ContractStatusId { get; set; }
-
- public string CompanyName { get; set; }
- public string CompanyCR { get; set; }
- public string CompanyEmail { get; set; }
- public string CompanyAddress { get; set; }
- public string CompanyPhone { get; set; }
-
- public string CompanyRepresentativeName { get; set; }
- public string CompanyRepresentativePassport { get; set; }
- public string CompanyRepresentativePhone { get; set; }
- public string CompanyRepresentativeEmail { get; set; }
- public string CompanyRepresentativePosition { get; set; }
-
- public string UserId { get; set; }
- [JsonProperty(Required = Required.AllowNull)]
- public string? EmployeeName { get; set; }
- [JsonProperty(Required = Required.AllowNull)]
- public string? EmployeeEmail { get; set; }
- public string? EmployeePassport{ get; set; }
- public string? EmployeePhone { get; set; }
- public string? EmployeeUniversity { get; set; }
- public DateTime? EmployeeDateOfBirth { get; set; }
-
- public string? EmployeeJobName { get; set; }
- public string? AcademicQualification { get; set; }
- public string? Specialization { get; set; }
- public string WorkCountry { get; set; }
- public string WorkState { get; set; }
-
- public string? JobTitleName { get; set; }
- public string? JobDescription { get; set; }
- [MaxLength(150)]
- public string? JobNumber { get; set; }
-
- public DateTime? StartDate { get; set; }
- [JsonProperty(Required = Required.AllowNull)]
- public DateTime? EndDate { get; set; }
- [JsonProperty(Required = Required.AllowNull)]
- public string? ContractDuration { get; set; }
- public string? TypeOfWork { get; set; }
- [JsonProperty(Required = Required.AllowNull)]
- public int? VacationDays { get; set; }
- public int? TrialPeriod { get; set; }
- public string? WhoCanTerminateContractInTrial { get; set; }
- public string? WhoCanTerminateContract { get; set; }
- [JsonProperty(Required = Required.AllowNull)]
- public int? NoticePeriodBeforeTermination { get; set; }
-
- [JsonProperty(Required = Required.AllowNull)]
- public List<string>? WorkingDays { get; set; }
- public string? WorkingHours { get; set; }
- public int? WorkingHoursNum { get; set; }
- public DateTime? StartDailyWorkingHours { get; set; }
- public DateTime? EndDailyWorkingHours { get; set; }
-
- [MaxLength(50)]
- public string? Currency { get; set; }
- public decimal? Salary { get; set; }
- public string? BillingCycle { get; set; }
-
- public DateTime? FirstPatchDateFrom { get; set; }
- public DateTime? FirstPatchDateTo { get; set; }
- public decimal? FirstPatchAmount { get; set; }
- public DateTime? LastPatchDateFrom { get; set; }
- public DateTime? LastPatchDateTo { get; set; }
- public decimal? LastPatchAmount { get; set; }
- public string? Teams { get; set; }
- public string? Vacations { get; set; }
-
- public bool IncludesAllAllowances { get; set; }
- public List<ContractAllowance>? FixedAllowances { get; set; }
-
- public List<ContractTask>? ContractTasks { get; set; }
- public List<ProjectStage>? ProjectStages { get; set; }
- }
- }
|