Add API Create command For C-PM-10 to C-PM-17

This commit is contained in:
Suphonchai Phoonsawat 2023-08-25 12:27:12 +07:00
parent ec53034b4d
commit ab5afff6e0
9 changed files with 1032 additions and 0 deletions

View file

@ -0,0 +1,23 @@
namespace BMA.EHR.Command.Service.Requests
{
public class CreateCommandGroup0Request
{
public Guid orderTypeValue { get; set; }
public string orderTitle { get; set; } = string.Empty;
public string orderNo { get; set; } = string.Empty;
public int orderYear { get; set; }
public DateTime orderDate { get; set; }
public Guid orderBy { get; set; }
public string orderByOrganizationName { get; set; } = string.Empty;
public string signatoryBy { get; set; } = string.Empty;
public string signatoryPosition { get; set; } = string.Empty;
}
}

View file

@ -0,0 +1,27 @@
namespace BMA.EHR.Command.Service.Requests
{
public class CreateCommandGroup10Request
{
public Guid orderTypeValue { get; set; }
public string orderTitle { get; set; } = string.Empty;
public string orderNo { get; set; } = string.Empty;
public int orderYear { get; set; }
public DateTime orderDate { get; set; }
public Guid orderBy { get; set; }
public string orderByOrganizationName { get; set; } = string.Empty;
public string signatoryBy { get; set; } = string.Empty;
public string signatoryPosition { get; set; } = string.Empty;
public string govAidCommandNo { get; set; }
public DateTime govAidCommandDate { get; set; }
}
}

View file

@ -0,0 +1,43 @@
namespace BMA.EHR.Command.Service.Requests
{
public class CreateCommandGroup6Request
{
public Guid orderTypeValue { get; set; }
public string orderTitle { get; set; } = string.Empty;
public string orderNo { get; set; } = string.Empty;
public int orderYear { get; set; }
public DateTime orderDate { get; set; }
public Guid orderBy { get; set; }
public string orderByOrganizationName { get; set; } = string.Empty;
public string signatoryBy { get; set; } = string.Empty;
public string signatoryPosition { get; set; } = string.Empty;
public string placementCommandIssuer { get; set; }
public string placementCommandNo { get; set; }
public DateTime placementCommandDate { get; set; }
public string placementPositionName { get; set; }
public string placementOrganizationName { get; set; }
public DateTime probationStartDate { get; set; }
public DateTime probationEndDate { get; set; }
public string chairManFullName { get; set; }
public string member1FullName { get; set; }
public string member2FullName { get; set; }
}
}

View file

@ -0,0 +1,29 @@
namespace BMA.EHR.Command.Service.Requests
{
public class CreateCommandGroup7Request
{
public Guid orderTypeValue { get; set; }
public string orderTitle { get; set; } = string.Empty;
public string orderNo { get; set; } = string.Empty;
public int orderYear { get; set; }
public DateTime orderDate { get; set; }
public Guid orderBy { get; set; }
public string orderByOrganizationName { get; set; } = string.Empty;
public string signatoryBy { get; set; } = string.Empty;
public string signatoryPosition { get; set; } = string.Empty;
public string placementCommandIssuer { get; set; }
public string placementCommandNo { get; set; }
public DateTime placementCommandDate { get; set; }
}
}

View file

@ -0,0 +1,25 @@
namespace BMA.EHR.Command.Service.Requests
{
public class CreateCommandGroup8Request
{
public Guid orderTypeValue { get; set; }
public string orderTitle { get; set; } = string.Empty;
public string orderNo { get; set; } = string.Empty;
public int orderYear { get; set; }
public DateTime orderDate { get; set; }
public Guid orderBy { get; set; }
public string orderByOrganizationName { get; set; } = string.Empty;
public string signatoryBy { get; set; } = string.Empty;
public string signatoryPosition { get; set; } = string.Empty;
public string receiveOrganizationName { get; set; }
}
}

View file

@ -0,0 +1,31 @@
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Command.Service.Requests
{
public class CreateCommandGroup9Request
{
public Guid orderTypeValue { get; set; }
public string orderTitle { get; set; } = string.Empty;
public string orderNo { get; set; } = string.Empty;
public int orderYear { get; set; }
public DateTime orderDate { get; set; }
public Guid orderBy { get; set; }
public string orderByOrganizationName { get; set; } = string.Empty;
public string signatoryBy { get; set; } = string.Empty;
public string signatoryPosition { get; set; } = string.Empty;
public string transferOrganizationName { get; set; }
public string? conclusionReceiveNo { get; set; }
public DateTime? conclusionReceiveDate { get; set; }
}
}