26 lines
691 B
C#
26 lines
691 B
C#
namespace DocuMed.Domain.CommandQueries.Commands;
|
|
|
|
public sealed record CreatePatientCommand(
|
|
string FirstName,
|
|
string LastName,
|
|
string UnitNumber,
|
|
string NationalId,
|
|
string Room,
|
|
string Bed,
|
|
DateTime AdmissionAt,
|
|
Guid SectionId) : IRequest<Guid>;
|
|
|
|
public sealed record UpdatePatientCommand(
|
|
Guid Id,
|
|
string FirstName,
|
|
string LastName,
|
|
string UnitNumber,
|
|
string NationalId,
|
|
string Room,
|
|
string Bed,
|
|
DateTime AdmissionAt,
|
|
Guid SectionId) : IRequest<Guid>;
|
|
|
|
public sealed record UpdatePatientSectionCommand(Guid Id, Guid SectionId) : IRequest<Guid>;
|
|
|
|
public sealed record DeletePatientCommand(Guid Id) : IRequest<bool>; |