-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#101 Accessibility - BookingArchived domain event structure change
- Loading branch information
1 parent
f0b8075
commit e66aca4
Showing
5 changed files
with
47 additions
and
15 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
...ssibility-service/src/Accessibility.Domain/Bookings/BookedRecords/ArchivedBookedRecord.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using System; | ||
using Accessibility.Domain.SharedKernel; | ||
|
||
namespace Accessibility.Domain.Bookings.BookedRecords | ||
{ | ||
public class ArchivedBookedRecord | ||
{ | ||
public ArchivedBookedRecord(BookedRecordId id, EmployeeId employeeId, OfferId offerId, DateTime date, short durationInMinutes, BookedRecordStatus status) | ||
{ | ||
Id = id; | ||
EmployeeId = employeeId; | ||
OfferId = offerId; | ||
Date = date; | ||
DurationInMinutes = durationInMinutes; | ||
Status = status; | ||
} | ||
|
||
public BookedRecordId Id { get; set; } | ||
public EmployeeId EmployeeId { get; } | ||
public OfferId OfferId { get; } | ||
public DateTime Date { get; } | ||
public short DurationInMinutes { get; } | ||
public BookedRecordStatus Status { get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters