if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Tree]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Tree]
GO

CREATE TABLE [dbo].[Tree] (
	[id] [int] IDENTITY (1, 1) NOT NULL ,
	[nodeId] [varchar] (50) COLLATE Chinese_PRC_CI_AS NOT NULL ,
	[parentId] [varchar] (50) COLLATE Chinese_PRC_CI_AS NOT NULL ,
	[title] [varchar] (50) COLLATE Chinese_PRC_CI_AS NOT NULL ,
	[leaf] [bit] NOT NULL ,
	[iconCls] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
	[childCount] [int] NOT NULL ,
	[number] [int] NULL ,
	[url] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL 
) ON [PRIMARY]
GO

