SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Pic_Pic](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[naviid] [int] NOT NULL,
	[picid] [int] NOT NULL,
	[name] [nvarchar](30) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Pic_Pic_name_1]  DEFAULT (''),
	[picpath] [nvarchar](80) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Pic_Pic_picturepath]  DEFAULT (''),
	[addtime] [datetime] NOT NULL,
 CONSTRAINT [PK_Pic_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'Pic_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'Pic_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'Pic_Pic', @level2type=N'COLUMN', @level2name=N'picid'

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