Skip to content

Booking: Api (Room Cleaning) #26

@Anders164a

Description

@Anders164a

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions