USE [Clinica]
GO
/****** Object:  Table [Core].[Perfil]    Script Date: 18-08-2025 21:38:25 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [Core].[Perfil](
	[IdPerfil] [int] IDENTITY(1,1) NOT NULL,
	[Descripcion] [varchar](256) NULL,
	[Eliminado] [int] NULL,
	[LandingPage] [varchar](256) NOT NULL,
	[IndSeleccionable] [int] NOT NULL,
	[IdTipoProducto] [int] NOT NULL,
 CONSTRAINT [PK_Perfil] PRIMARY KEY CLUSTERED 
(
	[IdPerfil] 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
ALTER TABLE [Core].[Perfil]  WITH CHECK ADD  CONSTRAINT [FK_Perfil_TipoProducto] FOREIGN KEY([IdTipoProducto])
REFERENCES [Core].[TipoProducto] ([IdTipoProducto])
GO
ALTER TABLE [Core].[Perfil] CHECK CONSTRAINT [FK_Perfil_TipoProducto]
GO
