┌──────────────────────┐ │CuentaPagos │ ├──────────────────────┤ │Integer IdCuentaPago │ │Integer IdTarifa │ │Integer IdPlazaUso │ │Integer IdUsuario │ │DateTime FechaRegistra│ │Numeric Monto │ │SmallInt Estado │ └──────────────────────┘ | | | ┌───────────────────────────┐ | │Tarifas │ ┌──────────────────────┐ ├───────────────────────────┤ │PlazasUso │ │Integer IdTarifa │ ├──────────────────────┤ │Integer PorHoras │ │Integer IdPlazaUso │ │Integer PorVecesUso │ │DateTime FechaRegistra│ │Integer PorTipoVehiculo │ │Integer IdPlaza │ │Integer PorTipoCliente │ │Integer IdUsuario │ │Integer PorIdCliente │ │Integer IdCliente │ │Integer PorPlaza │ │Integer IdEmpleado │ │Integer PorZona │ │Integer IdAuto │ │DateTime FechaIni │ │Datetime InicioUso │ │DateTime FechaFin │ │Datetime FinUso │ │Numeric Monto │ │SmallInt Estado │ │Numeric DescuentoPorcentaje│ └──────────────────────┘ │Numeric DescuentoMonto │ │SmallInt Estado │ └───────────────────────────┘ ┌───────────────────────┐ ┌──────────────────────┐ │Autos │ │Usuarios │ ├───────────────────────┤ ┌───────────────┐ ├──────────────────────┤ │Integer IdAuto │ │Plazas │ │Integer IdUsuario │ │Integer IdCliente │ ├───────────────┤ │Integer IdCliente │ │SmallInt IdTipoVehiculo│ │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 │ └───────────────────────┘ └──────────────────────┘