¡Esta es una revisión vieja del documento!
Mini Proyecto Control Estacionamiento
Este es un mini sistema de estacionamiento con SQL SERVER y WINAPI con C Sharp, yo he querido usar VUE.js y bootstrap, además tenga una versión en el api de PHP y Python con PostgreSQL
Funciones:
Funciones Cliente Autos Plazas
Sesion ✔ X X
Permiso X X X
Registrar X X X
Modificar X X X
Listar X X X
Filtrar X X X
Eliminar/Revocar X X X
Base de datos
Usuarios IdUsuario : Integer «PK» «Identity» IdCliente : Integer «FK» IdEmpleado : Integer «FK» IdTipoUsuario : SmallInt «FK» Usuario : Varchar(30) Password : Varchar(30) NombreCompleto : Varchar(100) Estado : SmallInt Clientes Integer IdCliente SmallInt IdTipoCliente String Nombre smallInt TipoDocumento String Documento Smallint Estado Autos Integer IdAuto Integer IdCliente SmallInt IdTipoVehiculo String Marca String Modelo SmallInt AñoModelo DateTime FechaIngreso String Observacion TipoVehiculos SmallInt IdTipoVehiculo String Nombre TipoClientes SmallInt IdTipoCliente String Nombre Empleados Integer IdEmpleado SmallInt IdTipoEmpleado String Nombre String ApellidoPaterno String ApellidoMaterno SmallInt TipoDocumento String Documento TipoEmpleados SmallInt IdTipoEmpleado String Nombre Plazas Integer IdPlaza Integer IdPlaya String Zona String Codigo SmallInt Estado Playas Integer IdPlaya String Ubigeo String Nombre String Direccion PlazasUso Integer IdPlazaUso DateTime FechaRegistra Integer IdPlaza Integer IdUsuario Integer IdCliente Integer IdEmpleado Integer IdAuto Datetime InicioUso Datetime FinUso SmallInt Estado CuentaPagos Integer IdCuentaPago Integer IdTarifa Integer IdPlazaUso Integer IdUsuario DateTime FechaRegistra Numeric Monto SmallInt Estado Tarifas Integer IdTarifa Integer PorHoras Integer PorVecesUso Integer PorTipoVehiculo Integer PorTipoCliente Integer PorIdCliente Integer PorPlaza Integer PorZona DateTime FechaIni DateTime FechaFin Numeric Monto Numeric DescuentoPorcentaje Numeric DescuentoMonto SmallInt Estado
PostgresSQL
Crea usuario y la base de datos:
CREATE USER userestaciona WITH PASSWORD 'vyABYsSUhd7b' ;
CREATE DATABASE estaciona_APP;
GRANT ALL PRIVILEGES ON DATABASE estaciona_APP TO userestaciona;
Prepara las tablas y relaciones:
--Usuarios
create table usuarios(
IdUsuario Integer primary key generated by default as identity ,
IdCliente Integer ,
IdEmpleado Integer ,
IdTipoUsuario smallint ,
Usuario Varchar( 30 ) ,
password Varchar( 30 ) ,
NombreCompleto Varchar( 100 ) ,
Estado smallint
)
MS SQL Server
API
FastAPI Python
Lumen PHP
WinAPI C Sharp
GUI
Laravel PHP
MVC C Sharp