Add seleccion baloncesto assignment.
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								1/GBD/assignments/seleccion-baloncesto/seleccion-baloncesto.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								1/GBD/assignments/seleccion-baloncesto/seleccion-baloncesto.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 29 KiB  | 
@@ -0,0 +1,52 @@
 | 
			
		||||
@startuml
 | 
			
		||||
 | 
			
		||||
entity "Equipo" as eqp {
 | 
			
		||||
	nombre : string
 | 
			
		||||
	--
 | 
			
		||||
	teléfono : string
 | 
			
		||||
	dirección : string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
entity "Pabellón" as pbl {
 | 
			
		||||
	id : number <<generated>>
 | 
			
		||||
	--
 | 
			
		||||
	dirección : string
 | 
			
		||||
	capacidad : number
 | 
			
		||||
	teléfono : string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
entity "Jugador" as jgr {
 | 
			
		||||
	nif : string
 | 
			
		||||
	--
 | 
			
		||||
	incorporación : date
 | 
			
		||||
	nombre : string
 | 
			
		||||
	nacimiento : date
 | 
			
		||||
}
 | 
			
		||||
' TODO: Generalizar Jugador
 | 
			
		||||
 | 
			
		||||
entity "Trabajador" as trb {
 | 
			
		||||
	nif : string
 | 
			
		||||
	--
 | 
			
		||||
	inicio_contrato : date
 | 
			
		||||
	nombre : string
 | 
			
		||||
	sueldo : number
 | 
			
		||||
}
 | 
			
		||||
' TODO: Generalizar Trabajador
 | 
			
		||||
 | 
			
		||||
entity "Partido" as ptd {
 | 
			
		||||
	id : number <<generated>>
 | 
			
		||||
	--
 | 
			
		||||
	resultado : string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
eqp }o--|| pbl : tiene
 | 
			
		||||
jgr }|--|| eqp : forma
 | 
			
		||||
trb }o--|| eqp : trabaja en
 | 
			
		||||
 | 
			
		||||
<> dJuega
 | 
			
		||||
 | 
			
		||||
dJuega -- jgr : juega
 | 
			
		||||
dJuega -- eqp
 | 
			
		||||
dJuega -- ptd
 | 
			
		||||
 | 
			
		||||
@enduml
 | 
			
		||||
		Reference in New Issue
	
	Block a user