ContractAllHRDto.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 long CompanyId { get; set; }
  21. public string UserId { get; set; }
  22. public string? EmployeeName { get; set; }
  23. public string? EmployeeEmail { get; set; }
  24. public int? JobId { get; set; }
  25. //-------------------Scope of work-----------
  26. public string? JobTitleName { get; set; }
  27. public string? JobDescription{ get; set; }
  28. //----------Salary-----------------
  29. [MaxLength(50)]
  30. public string? Currency { get; set; }
  31. public decimal? Salary{ get; set; }
  32. public DateTime? LastInvoiceDate { get; set; }
  33. //------------------------Fixed Pay----------------
  34. public string? Teams{ get; set; }
  35. public int? RestVacations{ get; set; }
  36. public int? SpentVacations { get; set; }
  37. public int? VacationDays { get; set; } //اختيار: بدون – سنويا (رقم)
  38. }
  39. }