38 lines
970 B
C#
38 lines
970 B
C#
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;
|
|
|
|
public DateTime StartDate { get; set; } = DateTime.MinValue;
|
|
|
|
public DateTime EndDate { get; set; } = DateTime.MinValue;
|
|
|
|
public string ProfileType { get; set; } = string.Empty;
|
|
|
|
public string? NodeId { get; set; } = string.Empty;
|
|
|
|
public int? Node { get; set; }
|
|
|
|
public string? RevisionId { get; set; } = string.Empty;
|
|
|
|
}
|
|
}
|