Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Ejercicios-Modelado/ej8.puml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
40 lines (33 sloc)
879 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'-------------------------------------- | |
' Ejercicio 8 | |
'-------------------------------------- | |
@startuml | |
title Ejercicio 8 - Teatro \n Modelo Conceptual | |
!include estilos/draft.iuml | |
'Entidades | |
!include clases/ej8.iuml | |
'Asociaciones | |
Zona *-d- "1..*" Localidad | |
Localidad "*" -- "*" Representación : localidadEsVendida < | |
(Localidad,Representación) .. Entrada | |
Zona "*" -r- "*" TipoEspectáculo : tienePrecio | |
(Zona,TipoEspectáculo) .. Precio | |
TipoEspectáculo *-- "*" Espectáculo | |
Espectáculo *-r- Representación : esRepresentado | |
'Restricciones | |
note as RN01 | |
RN-01 | |
-- | |
Unique (Espectaculo.oId, fechaHoraInicio) | |
end note | |
RN01 .. Representación | |
RN01 .. Espectáculo | |
note as RN02 | |
RN-02 Derivación precioCompra | |
-- | |
Entrada.precioCompra = Precio.precio | |
en el instante de venta de la Entrada | |
end note | |
RN02 .r. Entrada | |
RN02 .l. Precio | |
@enduml |