20 lines
464 B
C#
20 lines
464 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace BMA.EHR.Leave.Service.DTOs.LeaveBeginnings
|
|
{
|
|
public class GetLeaveBeginningDto
|
|
{
|
|
[Required]
|
|
public int Year { get; set; } = 0;
|
|
|
|
public Guid Type { get; set; } = Guid.Empty;
|
|
|
|
[Required]
|
|
public int Page { get; set; } = 1;
|
|
|
|
[Required]
|
|
public int PageSize { get; set; } = 10;
|
|
|
|
public string Keyword { get; set; } = string.Empty;
|
|
}
|
|
}
|