ContractAllHRDto.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using MTWorkHR.Application.Models;
  2. using MTWorkHR.Core.Entities;
  3. using MTWorkHR.Core.Entities.Base;
  4. using MTWorkHR.Core.Global;
  5. using Newtonsoft.Json;
  6. using System;
  7. using System.Collections.Generic;
  8. using System.ComponentModel.DataAnnotations;
  9. using System.ComponentModel.DataAnnotations.Schema;
  10. using System.Linq;
  11. using System.Text;
  12. using System.Threading.Tasks;
  13. namespace MTWorkHR.Application.Models
  14. {
  15. public class ContractAllHRDto : EntityDto
  16. {
  17. public ContractTypeEnum ContractTypeId { get; set; }
  18. public ContractStatusEnum ContractStatusId { get; set; }
  19. public TypeOfWork? TypeOfWork { get; set; } //: : اختيار: عقد بدوام كامل - عقد دوام جزئي
  20. public DateTime? StartDate { get; set; }
  21. public DateTime? EndDate { get; set; }
  22. public long CompanyId { get; set; }
  23. public string UserId { get; set; }
  24. public string? EmployeeName { get; set; }
  25. public string? EmployeeEmail { get; set; }
  26. public int? JobId { get; set; }
  27. //-------------------Scope of work-----------
  28. public string? JobTitleName { get; set; }
  29. public string? JobDescription{ get; set; }
  30. //----------Salary-----------------
  31. [MaxLength(50)]
  32. public string? Currency { get; set; }
  33. public decimal? Salary{ get; set; }
  34. public DateTime? LastInvoiceDate { get; set; }
  35. //------------------------Fixed Pay----------------
  36. public string? Teams{ get; set; }
  37. public int? RestVacations{ get; set; }
  38. public int? SpentVacations { get; set; }
  39. public int? VacationDays { get; set; } //اختيار: بدون – سنويا (رقم)
  40. }
  41. }