┌──────────────────────┐ │CuentaPagos │ ├──────────────────────┤ │Integer IdCuentaPago │ │Integer IdTarifa │ │Integer IdPlazaUso │ │Integer IdUsuario │ │DateTime FechaRegistra│ │Numeric Monto │ │SmallInt Estado │ └──────────────────────┘ | | | ┌───────────────────────────┐ ┌──────────────────────┐ │Tarifas │ │PlazasUso │ ├───────────────────────────┤ ├──────────────────────┤ │Integer IdTarifa │ │Integer IdPlazaUso │ │Integer PorHoras │ │DateTime FechaRegistra│ │Integer PorVecesUso │ │Integer IdPlaza │ │Integer PorTipoVehiculo │ │Integer IdUsuario │ │Integer PorTipoCliente │ │Integer IdCliente │ │Integer PorIdCliente │ │Integer IdEmpleado │ │Integer PorPlaza │ │Integer IdAuto │ │Integer PorZona │ │Datetime InicioUso │ │DateTime FechaIni │ │Datetime FinUso │ │DateTime FechaFin │ │SmallInt Estado │ │Numeric Monto │ └──────────────────────┘ │Numeric DescuentoPorcentaje│ │Numeric DescuentoMonto │ └───────────────────────────┘ ┌─────────────────────┐ ┌──────────────────────┐ │Autos │ │Usuarios │ ├─────────────────────┤ ┌───────────────┐ ├──────────────────────┤ │Integer IdAuto │ │Plazas │ │Integer IdUsuario │ │Integer IdCliente │ ├───────────────┤ │Integer IdCliente │ │SmallInt TipoVehiculo│ │Integer IdPlaza│ │SmallInt IdTipoUsuario│ │String Marca │ │Integer IdPlaya│ │String Usuario │ │String Modelo │ │String Zona │ │String Password │ │SmallInt AñoModelo │ │String Codigo │ │String NombreCompleto │ │DateTime FechaIngreso│ │SmallInt Estado│ │SmallInt Estado │ │String Observacion │ └───────────────┘ └──────────────────────┘ └─────────────────────┘ ┌───────────────────────┐ ┌──────────────────────┐ │Empleados │ │Clientes │ ┌────────────────┐ ├───────────────────────┤ ├──────────────────────┤ ┌───────────────────────┐ │Playas │ │Integer IdEmpleado │ │Integer IdCliente │ │TipoVehiculos │ ├────────────────┤ │SmallInt IdTipoEmpleado│ │SmallInt IdTipoCliente│ ├───────────────────────┤ │Integer IdPlaya │ │String Nombre │ │String Nombre │ │SmallInt IdTipoVehiculo│ │String Ubigeo │ │String ApellidoPaterno │ │smallInt TipoDocumento│ │String Nombre │ │String Nombre │ │String ApellidoMaterno │ │String Documento │ └───────────────────────┘ │String Direccion│ │SmallInt TipoDocumento │ │Smallint Estado │ └────────────────┘ │String Documento │ └──────────────────────┘ └───────────────────────┘ | | | ┌───────────────────────┐ ┌──────────────────────┐ │TipoEmpleados │ │TipoClientes │ ├───────────────────────┤ ├──────────────────────┤ │SmallInt IdTipoEmpleado│ │SmallInt IdTipoCliente│ │String Nombre │ │String Nombre │ └───────────────────────┘ └──────────────────────┘