Add seleccion baloncesto assignment.

This commit is contained in:
Nicolás A. Ortega Froysa 2021-10-25 20:58:50 +02:00
parent 3cd5881a9c
commit 4816780287
2 changed files with 52 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@ -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