api holiday

This commit is contained in:
kittapath 2024-12-21 01:11:42 +07:00
parent 692acf831a
commit b1b8d96e57
14 changed files with 1217 additions and 65 deletions

View file

@ -0,0 +1,9 @@
namespace BMA.EHR.MetaData.Service.Request
{
public class HolidayCopyRequest
{
public int FromYear { get; set; } = DateTime.Now.Year;
public int ToYear { get; set; } = DateTime.Now.Year;
}
}

View file

@ -0,0 +1,14 @@
namespace BMA.EHR.MetaData.Service.Request
{
public class HolidayRequest
{
public DateTime dateStart { get; set; } = DateTime.Now;
public DateTime dateEnd { get; set; } = DateTime.Now;
public int Year { get; set; } = DateTime.Now.Year;
public string Name { get; set; } = string.Empty;
}
}

View file

@ -0,0 +1,13 @@

using BMA.EHR.Domain.Models.MetaData;
namespace BMA.EHR.MetaData.Service.Request
{
public class HolidayUpdateRequest
{
public List<Holiday> history { get; set; }
public List<Holiday> updated { get; set; }
}
}