
/****** Object:  Table [dbo].[ApiDayOffRequests]    Script Date: 06.09.2021 20:53:00 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[ApiDayOffRequests](
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[WorkerId] [int] NOT NULL,
	[DateFrom] [datetime] NOT NULL,
	[DateTo] [datetime] NOT NULL,
	[DayFrom] [int] NOT NULL,
	[DayTo] [int] NOT NULL,
	[RequesterId] [int] NOT NULL,
	[CreateTS] [datetime] NOT NULL,
	[VendorId] [int] NOT NULL,
	[Days] [int] NOT NULL,
	[WorkDays] [int] NOT NULL,
	[TS] [int] NOT NULL,
	[State] [int] NOT NULL,
	[Active] [int] NOT NULL,
	[Description] [nvarchar](max) NULL,
 CONSTRAINT [PK_dbo.ApiDayOffRequests] PRIMARY KEY CLUSTERED 
(
	[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO


