USE [Clinica]
GO
/****** Object:  Table [Caja].[CicloCaja]    Script Date: 18-08-2025 21:38:25 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [Caja].[CicloCaja](
	[IdCicloCaja] [int] IDENTITY(1,1) NOT NULL,
	[IdCaja] [int] NOT NULL,
	[FechaApertura] [datetime] NULL,
	[IdUsuarioCajero] [int] NOT NULL,
	[SaldoInicial] [decimal](16, 2) NOT NULL,
	[FechaCierre] [datetime] NULL,
	[SaldoFinal] [decimal](16, 2) NOT NULL,
	[FechaValidacion] [datetime] NULL,
	[IdUsuarioValidacion] [int] NULL,
	[ArchivoPdfInicial] [varchar](512) NOT NULL,
	[ArchivoPdfFirmado] [varchar](512) NOT NULL,
 CONSTRAINT [PK__CicloCaj__F982EF852E91C681] PRIMARY KEY CLUSTERED 
(
	[IdCicloCaja] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO
