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
0b891a50
authored
Feb 13, 2025
by
Rubén Ramírez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
feat: [Diagrama ER]: Hecho un diagrama de Entidad Relación
parent
a6af7819
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
0 deletions
src/files/ER.puml
src/files/ER.puml
0 → 100644
View file @
0b891a50
@startuml
entity "Usuario" as Usuario {
*id : Integer
--
email : String
nombreUsuario : String
contrasena : String
}
entity "Repositorio" as Repositorio {
*id : Integer
--
usuario_id : Integer
}
entity "Recurso" as Recurso {
*id : Integer
--
titulo : String
descripcion : String
fechaPublicacion : Date
autor : String
}
entity "Categoria" as Categoria {
*id : Integer
nombre : String
}
entity "Repositorio_Recurso" as RepositorioRecurso {
*repositorio_id : Integer
*recurso_id : Integer
categoria_id : Integer
}
entity "Genero" as Genero {
*id : Integer
--
nombre : String
}
entity "Recurso_Genero" as RecursoGenero {
*recurso_id : Integer
*genero_id : Integer
}
entity "Capitulo" as Capitulo {
*id : Integer
--
recurso_id : Integer
numero : Integer
titulo : String
url : String
fuente : String
}
' Relaciones
Usuario ||--o{ Repositorio : "tiene"
Repositorio ||--o{ RepositorioRecurso : "contiene"
Recurso ||--o{ RepositorioRecurso : "almacenado en"
RepositorioRecurso }|--|| Categoria : "clasificado en"
Recurso ||--o{ RecursoGenero : "clasificado como"
Genero ||--o{ RecursoGenero : "pertenece a"
Recurso ||--o{ Capitulo : "contiene"
@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