1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- using MTWorkHR.Application.Models;
- using MTWorkHR.Core.Entities.Base;
- using MTWorkHR.Core.Global;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace MTWorkHR.Application.Models
- {
- public class ContractDto : EntityDto
- {
- public ContractTypeEnum ContractTypeId { get; set; }
- public long CompanyId { get; set; }
- public string CompanyRepresentativeId { get; set; }
-
- public string UserId { get; set; }
-
- public int? JobId { get; set; }
- public int? AcademicQualificationId { get; set; }
- public int? SpecializationId { get; set; }
- public int WorkCountryId { get; set; }
- public int WorkStateId { get; set; }
-
- public int? JobTitleId { get; set; }
- public string? JobDescription{ get; set; }
- [MaxLength(150)]
- public string? JobNumber { get; set; }
-
- public DateTime? StartDate { get; set; }
- public DateTime? EndDate { get; set; }
- public int ContractDurationId { get; set; }
- public TypeOfWork TypeOfWork { get; set; }
- public int VacationDays { get; set; }
- public int TrialPeriod { get; set; }
- public TerminateContractEnum WhoCanTerminateContractInTrial { get; set; }
- public TerminateContractEnum WhoCanTerminateContract { get; set; }
- public int NoticePeriodBeforeTermination { get; set; }
-
- public string WorkingDays { get; set; }
- public WorkingHours WorkingHours { 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 BillingCycle BillingCycle { get; set; }
-
- public bool IncludesAllAllowances { get; set; }
- public List<ContractAllowanceDto>? FixedAllowances { get; set; }
-
- public List<ContractTaskDto>? ContractTasks { get; set; }
- public List<ProjectStageDto>? ProjectStages { get; set; }
- }
- }
|