OrderRequestDto.cs 986 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using MTWorkHR.Application.Models;
  8. using MTWorkHR.Core.Entities;
  9. using MTWorkHR.Core.Entities.Base;
  10. using MTWorkHR.Core.Global;
  11. namespace MTWorkHR.Application.Models
  12. {
  13. public class OrderRequestDto : EntityDto
  14. {
  15. public DateTime StartDate { get; set; }
  16. public DateTime EndDate { get; set; }
  17. public string RequestingEmployeeId { get; set; }
  18. public int OrderTypeId { get; set; }
  19. public int? LeaveTypeId { get; set; }
  20. public string? RequestComments { get; set; }
  21. public ApprovalStatusEnum OrderStatus { get; set; }
  22. public int? CountryId { get; set; }
  23. public int? CityId { get; set; }
  24. public OrderTypeDto? OrderType { get; set; }
  25. public LeaveTypeDto? LeaveType { get; set; }
  26. public Employee? Employee { get; set; }
  27. }
  28. }