﻿if not Exists(SELECT * FROM information_schema.tables where Table_name = 'Station')
begin
	create table dbo.Station
	(
		ID	int primary key,
		Code int not null,
		Title nvarchar(200) ,
		Dom_ID_Type	int references Domain(ID) not null,
		Dom_ID_Status	int references Domain(ID) not null,
		Taf_ID	bigint references Tafsili(ID) not null,
		IP	nvarchar(1000),
		Price1	decimal(19,4),
		Price2	decimal(19,4),
		Price3	decimal(19,4),
		Price4	decimal(19,4),
		PriceOnline	decimal(19,4),
		BD_ID	int references BargehDetail(ID) null
	)
end