SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[DownLoad_Pic](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[naviid] [int] NOT NULL,
	[downloadid] [int] NOT NULL,
	[name] [nvarchar](30) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[picpath] [nvarchar](80) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_DownLoad_Pic_picturepath]  DEFAULT (''),
	[addtime] [datetime] NOT NULL,
 CONSTRAINT [PK_DownLoad_Pic] PRIMARY KEY CLUSTERED 
(
	[id] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'下载模型-图片集(主键)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'DownLoad_Pic', @level2type=N'COLUMN', @level2name=N'id'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'下载模型-图片集(所属导航ID)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'DownLoad_Pic', @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'DownLoad_Pic', @level2type=N'COLUMN', @level2name=N'downloadid'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'下载模型-图片集(名称)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'DownLoad_Pic', @level2type=N'COLUMN', @level2name=N'name'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'下载模型-图片集(大图)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'DownLoad_Pic', @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'DownLoad_Pic', @level2type=N'COLUMN', @level2name=N'addtime'
