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

Booking: Api (Room Cleaning) #26

Open
Anders164a opened this issue Feb 14, 2023 · 0 comments
Open

Booking: Api (Room Cleaning) #26

Anders164a opened this issue Feb 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Anders164a
Copy link
Contributor

Anders164a commented Feb 14, 2023

Add endpoint for creating, getting, setting and deletion of room cleaning - Return list with status, status_id, id, user_id and room_id.

  • Error handling should be proporly displayed, if any should occur.
  • Consider the possibility of an error interface that one or more endpoints could call, for redundancy

Dependent on #19 #34

An update has been made to the ER diagram..

Two tables have been added, to define a cleaning status on a room - There are at the moment four statuses for a room; "Not Cleaned", "Missing Towels", "Cleaning" & "Cleaned".

"room_images" table has also been created, for "room_types"

When a room is set to cleaned the "updated_at" saves the current time, and it should no longer be visible 30 minutes after.

NOTE
If hotel settings is not created before the end of this item, then create another item changing the 30 minutes to the hotel settings

Image

@Anders164a Anders164a changed the title Room Cleaning: Api Bookings: Api (Room Cleaning) Feb 15, 2023
@kristianbinau kristianbinau added enhancement New feature or request and removed dependent labels Feb 16, 2023
@kristianbinau kristianbinau changed the title Bookings: Api (Room Cleaning) Booking: Api (Room Cleaning) Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants