Add List all Leave Type Controller

This commit is contained in:
Suphonchai Phoonsawat 2023-11-28 13:15:36 +07:00
parent 8037ad7e1e
commit 130cbb8042
5 changed files with 125 additions and 8 deletions

View file

@ -0,0 +1,16 @@
using System.ComponentModel.DataAnnotations;
namespace BMA.EHR.Leave.Service.DTOs.LeaveTypes
{
public class CreateLeaveTypeDto
{
[Required]
public Guid Id { get; set; } = Guid.Empty;
[Required]
public string Name { get; set; } = string.Empty;
[Required]
public string Code { get; set; } = string.Empty;
}
}