2023-11-30 10:15:44 +07:00
|
|
|
|
using Org.BouncyCastle.Asn1.X509;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BMA.EHR.Leave.Service.DTOs.LeaveRequest
|
|
|
|
|
|
{
|
|
|
|
|
|
public class GetLeaveRequestForAdminDto
|
|
|
|
|
|
{
|
|
|
|
|
|
[Required]
|
|
|
|
|
|
public int Year { get; set; } = 0;
|
|
|
|
|
|
|
|
|
|
|
|
[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;
|
2024-01-17 12:42:19 +07:00
|
|
|
|
|
|
|
|
|
|
public DateTime StartDate { get; set; } = DateTime.MinValue;
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime EndDate { get; set; } = DateTime.MinValue;
|
2025-03-06 10:24:56 +07:00
|
|
|
|
|
|
|
|
|
|
public string ProfileType { get; set; } = string.Empty;
|
|
|
|
|
|
|
2025-05-02 17:36:16 +07:00
|
|
|
|
public string? NodeId { get; set; } = string.Empty;
|
2025-05-02 12:03:56 +07:00
|
|
|
|
|
2025-05-02 17:36:16 +07:00
|
|
|
|
public int? Node { get; set; }
|
2025-05-02 12:03:56 +07:00
|
|
|
|
|
|
|
|
|
|
public string? RevisionId { get; set; } = string.Empty;
|
|
|
|
|
|
|
2023-11-30 10:15:44 +07:00
|
|
|
|
}
|
|
|
|
|
|
}
|