Compare commits

...

18 Commits

Author SHA1 Message Date
6192eed627 Merge branch 'master' into entidades 2024-03-16 12:22:30 -03:00
8050c95f7b Merge pull request 'CasosDeUso' (#31) from CasosDeUso into master
Reviewed-on: #31
2024-03-16 12:16:42 -03:00
2150a38fe6 feat: terminados por ahora los cU 2024-03-16 12:14:05 -03:00
2c653179a7 fix: Correjidos los nombres de los actores 2024-03-16 12:07:29 -03:00
178680903f Chore: Actualizado el gitignore 2024-03-16 11:51:55 -03:00
51ffddd858 feat: más CUs 2024-03-16 11:15:22 -03:00
48ecb90bda me falta releer un poco más la narrativa para poder hacer el cu este 2024-03-15 15:39:40 -03:00
af16d85f23 fix: faltaba un caso de uso 2024-03-15 15:30:12 -03:00
9ece6f89b1 Merge pull request 'DiagramaSecuencia: Hechos unos diagramas de secuencia' (#30) from DiagramaSecuencia into master
Reviewed-on: #30
2024-03-15 13:10:04 -03:00
bcdfc473b7 Hechos los diagramas que faltan 2024-03-15 13:04:16 -03:00
36bf611d29 feat: añadidos algunos Diagramas de Secuencia 2024-03-14 18:45:59 -03:00
f539ba493c chore: me faltaron añadir estos archivos binarios al commit anterior 2024-03-14 15:28:46 -03:00
1619dbfd1a añadido caso de uso para gestion de mails 2024-03-14 15:20:27 -03:00
cea7acc36c chore: Agregada plantilla para los DS y actualizados nombre de cu 2024-03-14 14:16:59 -03:00
4664305b0a chore: restructuracion de la documentacion 2024-03-14 14:11:31 -03:00
bcb27c3a90 Merge pull request 'CasosDeUso' (#27) from CasosDeUso into master
Reviewed-on: #27
2024-03-14 13:55:49 -03:00
6b622e77c0 feat: añadido cu para avisar al cliente que tiene poco stock 2024-03-14 13:51:13 -03:00
4a3a28c7f9 feat: añadidos primeros casos de uso
necesito opiniones
2024-03-14 13:24:40 -03:00
24 changed files with 506 additions and 0 deletions

2
.gitignore vendored
View File

@@ -3,3 +3,5 @@
################################################################################
/Vista/bin/Debug/net6.0-windows
*.bbl
*.tex

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -0,0 +1,258 @@
#+title: Casos De Uso
* Empleado Gestiona un Producto
#+begin_src plantuml :file registroProducto.jpg
@startuml
left to right direction
actor "Empleado" <<Persona>> as fc
rectangle GestionProductos {
usecase "Gestionar Productos" as UC1
usecase "Listar Productos" as UC2
usecase "Modificar Productos" as UC3
usecase "Eliminar Producto" as UC4
usecase "Registrar Producto" as UC5
usecase "Seleccionar Proveedor" as uc7
usecase "Gestionar Categorias" as uc6
}
fc --> UC1
UC1 ..> UC2: "include"
UC3 ..> UC1: "extend"
UC4 ..> UC1: "extend"
UC5 ..> UC1: "extend"
UC5 ..> uc7: "include"
UC3 .> uc6: "include"
UC5 .> uc6: "include"
@enduml
#+end_src
#+RESULTS:
[[file:registroProducto.jpg]]
* Empleado Gestion Categorias
#+begin_src plantuml :file RegistroCategorias.jpg
@startuml
actor "Empleado" <<Persona>> as fc
rectangle RegistrarCategorias {
usecase "Gestionar Categorias" as UC1
usecase "Eliminar Categoria" as UC4
usecase "Registrar Categoria" as UC5
}
fc --> UC1
UC4 ..> UC1: "extend"
UC5 ..> UC1: "extend"
@enduml
#+end_src
#+RESULTS:
[[file:RegistroCategorias.jpg]]
* Empleado Registra Facturas
#+begin_src plantuml :file RegistroFacturas.jpg
@startuml
left to right direction
actor "Empleado" <<Persona>> as fc
rectangle RegistrarFacturas {
usecase "Gestionar Facturas" as uc0
usecase "Registrar Factura" as UC1
usecase "Listar Productos Con Existencias" as UC2
usecase "Filtrar Producto Por Categoria" as uc3
usecase "Descontar Stock" as uc4
}
fc --> uc0
uc0 <.. UC1: "extend"
uc0 ..> UC2: "include"
UC2 ..> uc3: "include"
UC1 ..> uc4: "include"
@enduml
#+end_src
#+RESULTS:
[[file:RegistroFacturas.jpg]]
* Empleado Registra Ordenes de Compra
#+begin_src plantuml :file RegistroOrdenDeCompra.jpg
@startuml
left to right direction
actor "Empleado" <<Persona>> as fc
rectangle RegistrarOrdendeCompra {
usecase "Gestionar OrdenDeCompra" as uc0
usecase "Registrar OrdenDeCompra" as UC1
usecase "Seleccionar Presupuesto" as uc3
usecase "Listar Ordenes" as UC2
}
fc --> uc0
uc0 <.. UC1: "extend"
uc0 ..> UC2: "include"
UC1 ..> uc3: "include"
@enduml
#+end_src
#+RESULTS:
[[file:RegistroOrdenDeCompra.jpg]]
* Empleado Registra Remito
#+begin_src plantuml :file RegistroRemito.jpg
@startuml
left to right direction
actor "Empleado" <<Persona>> as fc
rectangle RegistroRemito {
usecase "Gestionar Remitos" as uc0
usecase "Registrar Remito" as UC1
usecase "Aumentar Stock" as uc3
usecase "Listar Remitos" as uc4
}
fc --> uc0
uc0 ..> uc4: "include"
uc0 <.. UC1: "extend"
UC1 ..> uc3: "include"
@enduml
#+end_src
#+RESULTS:
[[file:RegistroRemito.jpg]]
* Se pide un Presupuesto
#+begin_src plantuml :file PedidoPresupuesto.jpg
@startuml
left to right direction
actor "Empleado" <<Persona>> as fc
rectangle RegistroRemito {
usecase "Gestionar Pedidos de Presupuesto" as uc0
usecase "Enviar Pedido de Presupuesto" as uc1
usecase "Registrar Pedido de Presupuesto" as uc3
}
fc --> uc0
uc0 <.. uc3: "extend"
uc1 ..> uc3: "include"
@enduml
#+end_src
#+RESULTS:
[[file:PedidoPresupuesto.jpg]]
* Carga de presupuesto enviado por un proveedor
#+begin_src plantuml :file CargaPresupuesto.jpg
@startuml
left to right direction
actor "Empleado" <<Persona>> as fc
rectangle RegistroRemito {
usecase "Gestionar Presupuestos" as uc0
usecase "Registrar Presupuesto" as uc1
}
fc --> uc0
uc0 <.. uc1: "extend"
@enduml
#+end_src
#+RESULTS:
[[file:CargaPresupuesto.jpg]]
* Informar pocos productos en stock
#+begin_src plantuml :file Informe.jpg
actor "Sistema" <<Programa>> as pr
rectangle "Aviso Stock Restante" {
note "<<Invariable>>\n producto->stock <= producto->umbralAvisoStock" as n1
usecase "Checkear Stock" as uc0
usecase "Enviar Informe" as uc1
usecase "Enviar Mail" as uc2
usecase "Mostrar MessageBox" as uc3
}
pr --> uc0
uc1 ..> uc0: "extend"
uc1 ..> uc2: "include"
uc1 ..> uc3: "include"
n1 .. uc0
#+end_src
#+RESULTS:
[[file:Informe.jpg]]
* Gestionar Mails de Informes
#+begin_src plantuml :file GestionMails.jpg
@startuml
actor "Empleado" <<Persona>> as cl
rectangle "Gestion Mails" {
usecase "Gestionar Mails" as UC1
usecase "Listar Mails" as UC2
usecase "Modificar Mails" as UC3
usecase "Eliminar Mail" as UC4
usecase "Registrar Mail" as UC5
}
left to right direction
cl --> UC1
UC1 ..> UC2: "include"
UC1 <.. UC3: "extend"
UC1 <.. UC4: "extend"
UC1 <.. UC5: "extend"
@enduml
#+end_src
#+RESULTS:
[[file:GestionMails.jpg]]
* Empleado Registra Proveedor
#+begin_src plantuml :file GestionProveedor.jpg
@startuml
actor "Empleado" <<Persona>> as cl
rectangle "Gestion Proveedor" {
usecase "Gestionar Proveedor" as UC1
usecase "Listar Proveedor" as UC2
usecase "Modificar Proveedor" as UC3
usecase "Eliminar Proveedor" as UC4
usecase "Registrar Proveedor" as UC5
}
left to right direction
cl --> UC1
UC1 ..> UC2: "include"
UC1 <.. UC3: "extend"
UC1 <.. UC4: "extend"
UC1 <.. UC5: "extend"
@enduml
#+end_src
#+RESULTS:
[[file:GestionProveedor.jpg]]
* Empleado Registra Cliente
#+begin_src plantuml :file GestionCliente.jpg
@startuml
actor "Empleado" <<Persona>> as cl
rectangle "Gestion Cliente" {
usecase "Gestionar Cliente" as UC1
usecase "Listar Cliente" as UC2
usecase "Modificar Cliente" as UC3
usecase "Eliminar Cliente" as UC4
usecase "Registrar Cliente" as UC5
}
left to right direction
cl --> UC1
UC1 ..> UC2: "include"
UC1 <.. UC3: "extend"
UC1 <.. UC4: "extend"
UC1 <.. UC5: "extend"
@enduml
#+end_src
#+RESULTS:
[[file:GestionCliente.jpg]]

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

View File

@@ -0,0 +1,246 @@
#+title: Diagrama Secuencia
* Usuario Gestiona un Producto
#+begin_src plantuml :file GestionProducto.jpg
@startuml
actor "Cliente" as cl
boundary "FormProductos" as fps
boundary "FormProducto" as fp
control "Controladora Producto" as gp
entity "Repo Productos" as rp
group "Registrar Nuevo Producto"
cl -> fps: Registrar Producto
fps -> fp: RegistrarProducto()
fp -> gp: AñadirProducto(:Producto)
gp -> rp: Add(:Producto)
alt ok case
rp --> gp: 👍
gp --> fp: "Se añadió el producto"
else algo fallo
rp --> gp: 👎
gp --> fp: "Falló la carga"
end
fp --> fps: ok
group "Refesh Productos"
fps -> fps: RefreshGUI()
end
end
group "Modificar Producto"
cl -> fps: Modificar Producto
fps -> fp: ModificarProducto(:Producto)
fp -> gp: ModificarProducto(:Producto)
gp -> rp: Mod(:Producto)
alt ok case
rp --> gp: 👍
gp --> fp: "Se Modificó el producto"
else algo fallo
rp --> gp: 👎
gp --> fp: "Falló Modificacion"
end
fp --> fps: ok
group "Refesh Productos"
fps -> fps: RefreshGUI()
end
end
group "Eliminar Producto"
cl -> fps: Eliminar Producto
fps -> gp: EliminarProducto(:Producto)
gp -> rp: Del(:Producto)
alt ok case
rp --> gp: 👍
gp --> fp: "Se eliminó el producto"
else algo fallo
rp --> gp: 👎
gp --> fp: "Falló la Baja del producto"
end
group "Refesh Productos"
fps -> fps: RefreshGUI()
end
end
@enduml
#+end_src
#+RESULTS:
[[file:GestionProducto.jpg]]
* Usuario Gestiona Categorias
#+begin_src plantuml :file GestionCategorias.jpg
@startuml
actor "Cliente" as cl
boundary "FormCategorias" as fcs
boundary "FormCategoria" as fc
control "Controladora Categorias" as gc
entity "Repo Categorias" as rc
group "Añadir Categoria"
cl -> fcs: Añadir Categoria
fcs -> fc: RegistrarCategoria()
fc -> gc: RegistrarCategoria(:Categoria)
gc -> rc: Add(:Categoria)
alt ok case
rc --> gc: 👍
gc --> fc: "Se añadió la Categoria"
else algo fallo
rc --> gc: 👎
gc --> fc: "Falló la carga"
end
fc --> fcs: ok
group "Refrescar Categorias"
fcs -> fcs: RefreshGUI()
end
end
group "Eliminar Categoria"
cl -> fcs: Eliminar Categoria
fcs -> fc: RegistrarCategoria()
fc -> gc: RegistrarCategoria(:Categoria)
gc -> rc: Add(:Categoria)
alt ok case
rc --> gc: 👍
gc --> fc: "Se Eliminó la Categoria"
else algo fallo
rc --> gc: 👎
gc --> fc: "Falló la Baja"
end
fc --> fcs: ok
group "Refrescar Categorias"
fcs -> fcs: RefreshGUI()
end
end
@enduml
#+end_src
#+RESULTS:
[[file:GestionCategorias.jpg]]
* Usuario Registra Facturas
#+begin_src plantuml :file GestionFacturas.jpg
@startuml
actor "Cliente" as cl
boundary "FormFacturas" as fcs
boundary "FormFactura" as fc
control "Controladora Facturas" as gc
entity "Repo Facturas" as rc
group "Añadir Factura"
cl -> fcs: Añadir Factura
fcs -> fc: RegistrarFactura()
fc -> gc: RegistrarFactura(:Factura)
gc -> rc: Add(:Factura)
alt ok case
rc --> gc: 👍
else algo fallo
rc --> gc: 👎
end
gc -> rc: DescontarStock(:Factura)
alt ok case
rc --> gc: 👍
else algo fallo
rc --> gc: 👎
end
gc --> fc: ok
fc --> fcs: ok
group "Refrescar Facturas"
fcs -> fcs: RefreshGUI()
end
end
@enduml
#+end_src
#+RESULTS:
[[file:GestionFacturas.jpg]]
* Gestion de Mails para informes
#+begin_src plantuml :file GestionMails.jpg
@startuml
actor "Cliente" as cl
boundary "FormGestionMails" as fps
control "ControladoraGestionMails" as gp
entity "RepoMails" as rp
group "Registrar Nuevo Mails"
cl -> fps: Registrar Mail
fps -> gp: RegistrarMail(:Mail)
gp -> rp: Add(:Mail)
alt ok case
rp --> gp: 👍
gp --> fps: "Se añadió el Mail"
else algo fallo
rp --> gp: 👎
gp --> fps: "Falló la carga"
end
group "Refesh Mails"
fps -> fps: RefreshGUI()
end
end
group "Modificar Mail"
cl -> fps: Modificar Mail
fps -> gp: ModificarMail(:Mail)
gp -> rp: Mod(:Mail)
alt ok case
rp --> gp: 👍
gp --> fps: "Se Modificó el Mail"
else algo fallo
rp --> gp: 👎
gp --> fps: "Falló Modificacion"
end
group "Refesh Mails"
fps -> fps: RefreshGUI()
end
end
group "Eliminar Mail"
cl -> fps: Eliminar Mail
fps -> gp: EliminarMail(:Mail)
gp -> rp: Del(:Mail)
alt ok case
rp --> gp: 👍
gp --> fps: "Se eliminó el Mail"
else algo fallo
rp --> gp: 👎
gp --> fps: "Falló la Baja del Mail"
end
group "Refesh Mail"
fps -> fps: RefreshGUI()
end
end
@enduml
#+end_src
#+RESULTS:
[[file:GestionMails.jpg]]

View File

Before

Width:  |  Height:  |  Size: 216 KiB

After

Width:  |  Height:  |  Size: 216 KiB

View File

Before

Width:  |  Height:  |  Size: 192 KiB

After

Width:  |  Height:  |  Size: 192 KiB