SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Job](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[naviid] [int] NOT NULL CONSTRAINT [DF_Job_job_menuid]  DEFAULT ((0)),
	[jumplink] [text] COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Job_jumplink]  DEFAULT (''),
	[place] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Job_job_place]  DEFAULT (''),
	[postname] [nvarchar](30) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Job_job_postname]  DEFAULT (''),
	[t_isbold] [bit] NOT NULL,
	[t_color] [nvarchar](10) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Job_t_color]  DEFAULT (''),
	[clicks] [int] NOT NULL CONSTRAINT [DF_Job_clicks]  DEFAULT ((0)),
	[department] [nvarchar](30) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Job_job_department]  DEFAULT (''),
	[postnumber] [int] NOT NULL CONSTRAINT [DF_Job_job_postnumber]  DEFAULT ((0)),
	[postask] [text] COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Job_job_postask]  DEFAULT (''),
	[postexplain] [text] COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Job_job_postexplain]  DEFAULT (''),
	[userid] [int] NOT NULL CONSTRAINT [DF_Job_userid]  DEFAULT ((0)),
	[memberid] [int] NOT NULL CONSTRAINT [DF_Job_memberid]  DEFAULT ((0)),
	[starttime] [datetime] NOT NULL,
	[lasttime] [datetime] NOT NULL,
	[addtime] [datetime] NOT NULL,
	[updatetime] [datetime] NOT NULL,
	[pay] [nvarchar](30) COLLATE Chinese_PRC_CI_AS NOT NULL CONSTRAINT [DF_Job_job_pay]  DEFAULT (''),
	[rewrite] [nvarchar](100) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[attribute1] [bit] NOT NULL,
	[attribute2] [bit] NOT NULL,
	[attribute3] [bit] NOT NULL,
	[attribute4] [bit] NOT NULL,
	[attribute5] [bit] NOT NULL,
	[attribute6] [bit] NOT NULL,
	[attribute7] [bit] NOT NULL,
	[attribute8] [bit] NOT NULL,
	[expand1] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand2] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand3] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand4] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand5] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand6] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand7] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand8] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand9] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand10] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand11] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand12] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand13] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand14] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand15] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand16] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand17] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand18] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand19] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
	[expand20] [nvarchar](800) COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_Job] 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'Job', @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'Job', @level2type=N'COLUMN', @level2name=N'naviid'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(跳转链接)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'jumplink'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(工作地点)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'place'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(岗位名称)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'postname'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(是否加粗)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N't_isbold'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(名称颜色值)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N't_color'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(点击数)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'clicks'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(所属部门)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'department'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(招聘人数)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'postnumber'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(岗位要求)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'postask'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(岗位描述说明)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'postexplain'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(所属用户ID)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'userid'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(所属会员ID)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'memberid'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(开始招聘时间)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'starttime'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(结束招聘时间)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'lasttime'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(添加时间)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'addtime'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(最后更新时间)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'updatetime'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(薪资待遇)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'pay'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(url重写)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'rewrite'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才模型-内容表(属性1,推荐,置顶,等,true为是)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'attribute1'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才模型-内容表(属性2,推荐,置顶,等,true为是)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'attribute2'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才模型-内容表(属性3,推荐,置顶,等,true为是)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'attribute3'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才模型-内容表(属性4,推荐,置顶,等,true为是)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'attribute4'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才模型-内容表(属性5,推荐,置顶,等,true为是)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'attribute5'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才模型-内容表(属性6,推荐,置顶,等,true为是)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'attribute6'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才模型-内容表(属性7,推荐,置顶,等,true为是)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'attribute7'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才模型-内容表(属性8,推荐,置顶,等,true为是)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'attribute8'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand1'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand2'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand3'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand4'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand5'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand6'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand7'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand8'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand9'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand10'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand11'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand12'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand13'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand14'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand15'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand16'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand17'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand18'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand19'

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'人才招聘模型-记录表(扩展字段)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Job', @level2type=N'COLUMN', @level2name=N'expand20'
