28 lines
647 B
C#
28 lines
647 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace BMA.EHR.Leave.Service.DTOs.LeaveRequest
|
|
{
|
|
public class GetLeaveRequestTableDto
|
|
{
|
|
[Required]
|
|
public int Year { get; set; } = 0;
|
|
|
|
[Required]
|
|
public Guid Type { get; set; } = Guid.Empty;
|
|
|
|
[Required]
|
|
public string Status { get; set; } = "ALL";
|
|
|
|
[Required]
|
|
public int Page = 1;
|
|
|
|
[Required]
|
|
public int PageSize = 10;
|
|
|
|
public string? Keyword { get; set; } = string.Empty;
|
|
|
|
public string? SortBy { get; set; } = string.Empty;
|
|
|
|
public bool? Descending { get; set; } = false;
|
|
}
|
|
}
|