Add exercise 15
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								1/GBD/assignments/ej15-menu-diario/ej15-menu-diario.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								1/GBD/assignments/ej15-menu-diario/ej15-menu-diario.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 16 KiB  | 
							
								
								
									
										25
									
								
								1/GBD/assignments/ej15-menu-diario/ej15-menu-diario.uml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								1/GBD/assignments/ej15-menu-diario/ej15-menu-diario.uml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
@startuml
 | 
			
		||||
 | 
			
		||||
entity "Menú" as menu {
 | 
			
		||||
	ofrecido : date
 | 
			
		||||
	--
 | 
			
		||||
	personas : number
 | 
			
		||||
	temperatura : number
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
entity "Plato" as plato {
 | 
			
		||||
	*nombre : string
 | 
			
		||||
	--
 | 
			
		||||
	descripción : string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
plato ||--o{ menu : es 1er plato de
 | 
			
		||||
note on link : cantidad
 | 
			
		||||
 | 
			
		||||
plato ||--o{ menu : es 2o plato de
 | 
			
		||||
note on link : cantidad
 | 
			
		||||
 | 
			
		||||
plato ||--o{ menu : es postre de
 | 
			
		||||
note on link : cantidad
 | 
			
		||||
 | 
			
		||||
@enduml
 | 
			
		||||
							
								
								
									
										16
									
								
								1/GBD/assignments/ej15-menu-diario/ej15-tablas.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								1/GBD/assignments/ej15-menu-diario/ej15-tablas.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
Menus(
 | 
			
		||||
	ofrecido (PK),
 | 
			
		||||
	personas,
 | 
			
		||||
	temperatura,
 | 
			
		||||
	primer_plato (FK -> Platos.nombre),
 | 
			
		||||
	cantidad_primer_plato,
 | 
			
		||||
	segundo_plato (FK -> Platos.nombre),
 | 
			
		||||
	cantidad_segundo_plato,
 | 
			
		||||
	postre (FK -> Platos.nombre),
 | 
			
		||||
	cantidad_postre
 | 
			
		||||
	)
 | 
			
		||||
 | 
			
		||||
Platos(
 | 
			
		||||
	nombre (PK),
 | 
			
		||||
	descripción
 | 
			
		||||
	)
 | 
			
		||||
		Reference in New Issue
	
	Block a user