SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Slide](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[naviid] [int] NOT NULL CONSTRAINT [DF_Slide_navid]  DEFAULT ((0)),
	[orderid] [int] NOT NULL CONSTRAINT [DF_Slide_orderid]  DEFAULT ((0)),
	[picpath] [nvarchar](80) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Slide_picpath]  DEFAULT (''),
	[title] [nvarchar](200) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Slide_title]  DEFAULT (''),
	[slogan] [nvarchar](200) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Slide_slogan]  DEFAULT (''),
	[url] [text] COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Slide_url]  DEFAULT (''),
	[intro] [nvarchar](300) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Slide_content]  DEFAULT (''),
 CONSTRAINT [PK_Slide] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'幻灯片模型-记录表(主键)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Slide', @level2type=N'COLUMN', @level2name=N'id'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'幻灯片模型-记录表(所属导航ID,0为首页)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Slide', @level2type=N'COLUMN', @level2name=N'naviid'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'幻灯片模型-记录表(排序ID)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Slide', @level2type=N'COLUMN', @level2name=N'orderid'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'幻灯片模型-记录表(图片路径)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Slide', @level2type=N'COLUMN', @level2name=N'picpath'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'幻灯片模型-记录表(标题)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Slide', @level2type=N'COLUMN', @level2name=N'title'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'幻灯片模型-记录表(标识语)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Slide', @level2type=N'COLUMN', @level2name=N'slogan'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'幻灯片模型-记录表(链接地址)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Slide', @level2type=N'COLUMN', @level2name=N'url'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'幻灯片模型-记录表(简要内容)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Slide', @level2type=N'COLUMN', @level2name=N'intro'
