Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Rubén Ramírez
/
MangAffinity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
01ea8977
authored
May 02, 2025
by
Rubén Ramírez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
feat: [ER.puml]: Correción del diagrama ER
parent
046e54b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
18 deletions
src/files/ER.puml
src/files/ER.puml
View file @
01ea8977
@startuml
@startuml
skinparam linetype ortho
skinparam nodesep 30
skinparam ranksep 30
entity "Usuario" as Usuario {
entity "Usuario" as Usuario {
*id : Integer
*id : Integer
--
--
...
@@ -14,16 +18,7 @@ entity "Repositorio" as Repositorio {
...
@@ -14,16 +18,7 @@ entity "Repositorio" as Repositorio {
usuario_id : Integer
usuario_id : Integer
}
}
Usuario ||--|| Repositorio : "tiene"
Usuario ||--right--|| Repositorio : "\n\ntiene"
entity "Recurso" as Recurso {
*id : Integer
--
titulo : String
descripcion : String
fechaPublicacion : Date
autor : String
}
entity "Repositorio_Recurso" as RepositorioRecurso {
entity "Repositorio_Recurso" as RepositorioRecurso {
*repositorio_id : Integer
*repositorio_id : Integer
...
@@ -31,28 +26,38 @@ entity "Repositorio_Recurso" as RepositorioRecurso {
...
@@ -31,28 +26,38 @@ entity "Repositorio_Recurso" as RepositorioRecurso {
categoria_id : Integer
categoria_id : Integer
}
}
Repositorio ||--|| RepositorioRecurso : "contiene"
Repositorio ||--right--|| RepositorioRecurso : "\n\ncontiene"
RepositorioRecurso ||--|| Recurso : "almacena"
entity "Categoria" as Categoria {
entity "Categoria" as Categoria {
*id : Integer
*id : Integer
nombre : String
nombre : String
}
}
RepositorioRecurso ||--
|| Categoria : "
clasificado en"
RepositorioRecurso ||--
up--|| Categoria : "\n\n
clasificado en"
entity "
Genero" as Gener
o {
entity "
Recurso" as Recurs
o {
*id : Integer
*id : Integer
nombre : String
--
titulo : String
descripcion : String
fechaPublicacion : Date
autor : String
}
}
RepositorioRecurso ||--down--|| Recurso : "\n\nalmacena"
entity "Recurso_Genero" as RecursoGenero {
entity "Recurso_Genero" as RecursoGenero {
*recurso_id : Integer
*recurso_id : Integer
*genero_id : Integer
*genero_id : Integer
}
}
Recurso ||--|| RecursoGenero : "tiene"
entity "Genero" as Genero {
RecursoGenero ||--|| Genero : "pertenece a"
*id : Integer
nombre : String
}
Recurso ||--left--|| RecursoGenero : "\n\ntiene"
RecursoGenero ||--left--|| Genero : "\n\npertenece a"
entity "Capitulo" as Capitulo {
entity "Capitulo" as Capitulo {
*id : Integer
*id : Integer
...
@@ -64,6 +69,7 @@ entity "Capitulo" as Capitulo {
...
@@ -64,6 +69,7 @@ entity "Capitulo" as Capitulo {
fuente : String
fuente : String
}
}
Recurso ||--
|| Capitulo : "
contiene"
Recurso ||--
down--|| Capitulo : "\n\n
contiene"
@enduml
@enduml
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment