Skip to content

feat: implement all sprint 15 features (database, bookings, comments) - #4

Merged
Darya346 merged 19 commits into
mainfrom
add-bookings
Apr 2, 2026
Merged

Darya346 merged 19 commits into
mainfrom
add-bookings

Conversation

@Darya346

Copy link
Copy Markdown
Owner

No description provided.


List<Booking> findAllByBookerIdAndStatusOrderByStartDesc(Long bookerId, Status status);

List<Booking> findAllByBookerIdAndStartBeforeAndEndAfterOrderByStartDesc(Long bookerId, LocalDateTime nowStart, LocalDateTime nowEnd);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Слишком длинные называния методов


List<Booking> findAllByItemOwnerIdAndStatusOrderByStartDesc(Long ownerId, Status status);

List<Booking> findAllByItemOwnerIdAndStartBeforeAndEndAfterOrderByStartDesc(Long ownerId, LocalDateTime nowStart, LocalDateTime nowEnd);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тоже самое

@Darya346
Darya346 merged commit 0781f7e into main Apr 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants