Skip to content

Commit

Permalink
travel to the moon
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousCI committed Mar 18, 2024
1 parent c9a2232 commit 7fb38ab
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions book/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
- [Università 1](./basi-di-dati-2/universita-1.md)
- [Voli Aerei 2](./basi-di-dati-2/voli-aerei-2.md)
- [Accademia 1](./basi-di-dati-2/accademia-1.md)
- [Travel to the Moon](./basi-di-dati-2/travel-to-the-moon-2.md)
- [Algoritmi II](./algoritmi-2/algoritmi.md)
- [Esercizi](./algoritmi-2/esercizi.md)

Expand Down
35 changes: 35 additions & 0 deletions book/basi-di-dati-2/travel-to-the-moon-2.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Travel to the Moon

## Requisiti

1. Requisiti sulle crociere:
1.1. codice
1.2. data di inizio
Expand Down Expand Up @@ -58,3 +62,34 @@
6.1. istante di prenotazione (DataOra?)
6.2. crociera prenotatata (v. req. 1)
6.3. posti prenotati (Intero > 0)

## UML

<!-- Partiamo dalle classi ovvie! -->

```mermaid
classDiagram
class Nave {
nome: Stringa
conformt: 3..5
capienza: Intero > 0
}
class Destinazione {
nome: Stringa
tipo: [Romantico, Divertente] [1..2]
}
class Continente {
nome: Stringa
}
class PostoDaVedere {
nome: Stringa
}
Destinazione "0..*" -- "1..1" Continente : "porto_cont"
Destinazione "0..*" -- "0..*" PostoDaVedere : "porto_post"
```

Requisiti 1 e 4 (crociere e itinerari)

0 comments on commit 7fb38ab

Please sign in to comment.