OrderRequestDto.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132
  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 UserDto? Employee { get; set; }
  27. public string? StartTime { get; set; }
  28. public string? EndTime { get; set; }
  29. }
  30. }