
/****** Object:  Table [dbo].[ApiProjectLines]    Script Date: 06.09.2021 20:27:28 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[ApiProjectLines](
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[ProjectId] [int] NOT NULL,
	[Code] [nvarchar](max) NULL,
	[Name] [nvarchar](max) NULL,
	[TimeSpend] [int] NOT NULL,
	[Distance] [int] NOT NULL,
	[Income] [decimal](18, 2) NOT NULL,
	[Costs] [decimal](18, 2) NOT NULL,
	[EstimatedIncome] [int] NOT NULL,
	[EstimatedCosts] [int] NOT NULL,
	[EstimatedDistance] [int] NOT NULL,
 CONSTRAINT [PK_dbo.ApiProjectLines] 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


