Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create listing availability restriction #326

Open
sulton-max opened this issue Feb 18, 2024 · 0 comments
Open

Create listing availability restriction #326

sulton-max opened this issue Feb 18, 2024 · 0 comments
Assignees
Labels
backend Server-side logic, backend API feature New functionality or enhancements medium Normal priority, requires timely attention

Comments

@sulton-max
Copy link
Collaborator

sulton-max commented Feb 18, 2024

Description

Create listing availability restriction entity and logic

Requirements

  • project must be runnable
  • migration must be added

Create following entities

ListingAvailabilityRestriction - one to many relationship with listing

  • ListingId
  • FromDate
  • ToDate
  • ModifiedTime
  • Type - HostIntended, Interval, InsufficientAvailability

Deliverables

  • ListingAvailabilityRestriction entity, foundation service, repository, migration, validation and endpoints
  • ListingAvailabilityRestrictionCreatedEvent - event with only restriction Id and empty handler, published locally for create op.
  • ListingAvailabilityRestrictionUpdatedEvent - event with only restriction Id and empty handler, published locally for update op.
  • ListingAvailabilityRestrictionDeletedEvent - event with only restriction Id and empty handler, published locally for delete op.
@sulton-max sulton-max converted this from a draft issue Feb 18, 2024
@sulton-max sulton-max added feature New functionality or enhancements medium Normal priority, requires timely attention backend Server-side logic, backend API labels Feb 18, 2024
@sulton-max sulton-max added this to the Listing reservation milestone Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Server-side logic, backend API feature New functionality or enhancements medium Normal priority, requires timely attention
Projects
None yet
Development

No branches or pull requests

2 participants