Skip to content

Commit

Permalink
Add IsManualAppointment property to appointment (#172)
Browse files Browse the repository at this point in the history
* Add IsManualAppointment property to appointment
  • Loading branch information
hbulens authored Jun 14, 2024
1 parent cb35aeb commit cbf5ddf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Dime.Scheduler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<Description>The official .NET SDK for Dime.Scheduler.</Description>
<Summary>A developer toolkit that connects any system to Dime.Scheduler in .NET</Summary>
<PackageId>Dime.Scheduler</PackageId>
<VersionPrefix>1.0.2</VersionPrefix>
<VersionPrefix>1.0.3</VersionPrefix>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<FileVersion>1.0.0.0</FileVersion>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
Expand Down
3 changes: 3 additions & 0 deletions src/core/Models/Appointment/Appointment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ public class Appointment : IAppointmentIdentifier, IImportRequestable, IValidata
[ImportParameter(nameof(SentFromBackOffice), TransactionType.Delete)]
public bool? SentFromBackOffice { get; set; } = true;

[ImportParameter(nameof(IsManualAppointment), TransactionType.Append)]
public bool? IsManualAppointment { get; set; } = false;

ImportRequest IImportRequestable.ToImportRequest(TransactionType transactionType)
=> transactionType switch
{
Expand Down

0 comments on commit cbf5ddf

Please sign in to comment.