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

Realizar reserva de acomodação (hospedagem) #7

Closed
danielwisky opened this issue Oct 7, 2021 · 1 comment
Closed

Realizar reserva de acomodação (hospedagem) #7

danielwisky opened this issue Oct 7, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request no-issue-activity

Comments

@danielwisky
Copy link
Owner

danielwisky commented Oct 7, 2021

Objetivo

Desenvolver fluxo de hospedagem (reserva de acomodações)

POST: /api/v1/hospedagens

Validações

  • Validar se já existe uma reserva para a mesma acomodação + período.

Payload

{
  "acomodacaoId": 1,
  "hospedeId": 1,
  "acompanhanteIds": [
    1
  ],
  "dataEntrada": "2021-05-20T00:00:00",
  "dataSaida": "2021-05-29T00:00:00"
}

Sugestão de leitura

https://docs.spring.io

@danielwisky danielwisky added the enhancement New feature or request label Oct 7, 2021
@danielwisky danielwisky added this to To do in Release 1.0.0 Oct 7, 2021
@danielwisky danielwisky changed the title realizar reserva apartamento/quarto Realizar reserva de acomodação (hospedagem) Oct 7, 2021
@github-actions
Copy link

Stale issue message

@danielwisky danielwisky moved this from To do to Done in Release 1.0.0 Mar 9, 2022
@danielwisky danielwisky self-assigned this Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request no-issue-activity
Projects
No open projects
Development

No branches or pull requests

1 participant