-
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.
#108 Accessibility - bookings canceled by facility
- Loading branch information
1 parent
511a8a0
commit 5c8a9d4
Showing
8 changed files
with
71 additions
and
44 deletions.
There are no files selected for viewing
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
16 changes: 0 additions & 16 deletions
16
.../Community.Application/Members/Commands/AddFulfilledBooking/AddFulfilledBookingCommand.cs
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
...ity.Application/Members/Commands/AddFulfilledBooking/AddFulfilledBookingCommandHandler.cs
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
community-service/src/Community.Domain/Members/Events/BookingCanceledByFacility.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,30 @@ | ||
using System; | ||
using Community.Domain.Members.ValueObjects; | ||
using Core.Domain; | ||
|
||
namespace Community.Domain.Members.Events | ||
{ | ||
public class BookingCanceledByFacility : IEvent | ||
{ | ||
public BookingCanceledByFacility(Guid memberId, BookingOffer offer, BookingFacility facility, BookingEmployee employee, DateTime date, short duration, Guid bookedRecordId, string caution) | ||
{ | ||
MemberId = memberId; | ||
Offer = offer; | ||
Facility = facility; | ||
Employee = employee; | ||
Date = date; | ||
Duration = duration; | ||
BookedRecordId = bookedRecordId; | ||
Caution = caution; | ||
} | ||
|
||
public Guid MemberId { get; } | ||
public BookingOffer Offer { get; } | ||
public BookingFacility Facility { get; } | ||
public BookingEmployee Employee { get; } | ||
public DateTime Date { get; } | ||
public short Duration { get; } | ||
public Guid BookedRecordId { get; } | ||
public string Caution { 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,7 @@ public enum BookingStatus | |
{ | ||
Fulfilled, | ||
Canceled, | ||
CanceledByFacility, | ||
NotRealized | ||
} | ||
} |
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