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

Arquitetar o projeto (modelagem) #6

Open
andavgc opened this issue Aug 5, 2023 · 2 comments
Open

Arquitetar o projeto (modelagem) #6

andavgc opened this issue Aug 5, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@andavgc
Copy link
Contributor

andavgc commented Aug 5, 2023

Estruturação do código:

  • Modelagem
  • Definir classes principais
  • Definir métodos principais
@andavgc andavgc converted this from a draft issue Aug 5, 2023
@andavgc andavgc moved this from 🆕 New to 📋 Backlog in REZ-menu-app Aug 5, 2023
@andavgc andavgc moved this from Sprint to 🏗 In progress in REZ-menu-app Aug 5, 2023
@andavgc andavgc self-assigned this Aug 5, 2023
@andavgc
Copy link
Contributor Author

andavgc commented Aug 5, 2023

Possíveis classes

  • Cardápio:
    Atributos:

    • Lista de items

    Métodos:

    • Filtrar itens
    • Buscar itens
    • Ver carrinho
  • Carrinho:
    Atributos:

    • Lista de Itens
    • Lista de Contas
    • Valor total

    Métodos:

    • Realizar pedido
    • Aumentar quantidade do Item
    • Criar Conta
    • Ver Contas
    • Remover Conta(?) (deve inspecionar que não tenha pedidos na conta)
    • Ver Cardápio
  • Conta:
    Atributos:

    • Nome
    • Lista de itens
    • Valor Total
      Métodos:
    • Mover Item
    • Ver Cardápio
    • Ver Carrinho
  • Janela de Contas:
    Atributos:

    • Lista de Contas
      Métodos:
    • Remover Conta
  • Item
    Atributos:

    • Imagem
    • Valor
    • N de Pedido
      Métodos:
    • Adicionar ao carrinho
    • Retirar do carrinho
    • Dividir Item

    Subclasses:

    • Bebida
    • Comida
      Subclasses:
      • Entrada
      • Prato Principal
      • Sobremesa

@lknknm lknknm linked a pull request Aug 14, 2023 that will close this issue
@lknknm lknknm added the enhancement New feature or request label Aug 16, 2023
@andavgc andavgc moved this from 🏗 In progress to ✅ Done in REZ-menu-app Aug 21, 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: Done
Development

Successfully merging a pull request may close this issue.

3 participants
@lknknm @andavgc and others