LV2_015 - รายการขอยกเลิกการลา (ADMIN)
LV2_008 - ขอยกเลิกการลา (USER)
This commit is contained in:
Suphonchai Phoonsawat 2023-12-04 12:10:46 +07:00
parent 1a4d03cdd9
commit 0c2814e53b
13 changed files with 3320 additions and 14 deletions

View file

@ -0,0 +1,9 @@
namespace BMA.EHR.Leave.Service.DTOs.LeaveRequest
{
public class CancelLeaveRequestDto
{
public string? Reason { get; set; }
public IFormFile? Doc { get; set; }
}
}

View file

@ -0,0 +1,21 @@
using System.ComponentModel.DataAnnotations;
namespace BMA.EHR.Leave.Service.DTOs.LeaveRequest
{
public class GetLeaveCancelRequestDto
{
[Required]
public Guid Type { get; set; } = Guid.Empty;
[Required]
public string Status { get; set; } = string.Empty;
[Required]
public int Page { get; set; } = 1;
[Required]
public int PageSize { get; set; } = 10;
public string Keyword { get; set; } = string.Empty;
}
}

View file

@ -0,0 +1,17 @@
namespace BMA.EHR.Leave.Service.DTOs.LeaveRequest
{
public class GetLeaveCancelRequestResultDto
{
public Guid Id { get; set; }
public string LeaveTypeName { get; set; }
public Guid LeaveTypeId { get; set; }
public string FullName { get; set; }
public DateTime DateSendLeave { get; set; }
public string Status { get; set; }
}
}