序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | Guid | varchar | 200 | 0 | 是 | PPT Guid | ||||
3 | page | ntext | 16 | 0 | 是 | 页面数据 | ||||
4 | comp | ntext | 16 | 0 | 是 | 压缩后的Json | ||||
5 | CDate | datetime | 8 | 3 | 是 | 创建时间 | ||||
6 | UPDate | datetime | 8 | 3 | 是 | 修改时间 | ||||
7 | UserID | int | 4 | 0 | 是 | 所属用户编号 | ||||
8 | UserName | nvarchar | 100 | 0 | 是 | 所属用户 | ||||
9 | Remind | nvarchar | 100 | 0 | 是 | 备注 | ||||
10 | labelArr | ntext | 16 | 0 | 是 | 标签集合 | ||||
11 | Title | nvarchar | 50 | 0 | 是 | 网页标题 | ||||
12 | Meta | nvarchar | 4000 | 0 | 是 | 标注页面元信息 | ||||
13 | Resource | ntext | 16 | 0 | 是 | 引入的JS和CSS资源 | ||||
14 | Path | nvarchar | 500 | 0 | 是 | 页面路径,给予路由定位,示例:/dir/index | ||||
15 | ZType | int | 4 | 0 | 是 | 0:普通页面,1:模板,2:全局组件 | ||||
16 | TlpID | int | 4 | 0 | 是 | 模板ID | ||||
17 | SiteID | int | 4 | 0 | 是 | IsTemplate,该页面是否为一个模板页 | ||||
18 | OrderID | int | 4 | 0 | 是 | 订单编号 | ||||
19 | scence | ntext | 16 | 0 | 是 | 场景,仅用于场景设计 | ||||
20 | PreviewImg | nvarchar | 4000 | 0 | 是 | PPT预览图 | ||||
21 | ThumbImg | nvarchar | 500 | 0 | 是 | PPT缩略图 | ||||
22 | Status | int | 4 | 0 | 是 | |||||
23 | Score | real | 4 | 0 | 是 | 评分 | ||||
24 | Seflag | nvarchar | 200 | 0 | 是 | 系统标识 | ||||
25 | AccessPwd | nvarchar | 200 | 0 | 是 | 访问密码 | ||||
26 | CUser | int | 4 | 0 | 是 |
智能PPT表
GO
CREATE TABLE [dbo].[ZL_Design_PPT](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Guid] [varchar](200) NULL,
[page] [ntext] NULL,
[comp] [ntext] NULL,
[CDate] [datetime] NULL,
[UPDate] [datetime] NULL,
[UserID] [int] NULL,
[UserName] [nvarchar](100) NULL,
[Remind] [nvarchar](100) NULL,
[labelArr] [ntext] NULL,
[Title] [nvarchar](50) NULL,
[Meta] [nvarchar](4000) NULL,
[Resource] [ntext] NULL,
[Path] [nvarchar](500) NULL,
[ZType] [int] NULL,
[TlpID] [int] NULL,
[SiteID] [int] NULL,
[OrderID] [int] NULL,
[scence] [ntext] NULL,
[PreviewImg] [nvarchar](4000) NULL,
[ThumbImg] [nvarchar](500) NULL,
[Status] [int] NULL,
[Score] [real] NULL,
[Seflag] [nvarchar](200) NULL,
[AccessPwd] [nvarchar](200) NULL,
[CUser] [int] NULL,
CONSTRAINT [PK_ZL_Design_PPT] PRIMARY KEY CLUSTERED
([ID] ASC)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
detele from ZL_Design_PPT
drop table ZL_Design_PPT
TRUNCATE table ZL_Design_PPT