序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | DeviceNo | nvarchar | 200 | 0 | 是 | 设备编码 | ||||
3 | MemberCode | nvarchar | 200 | 0 | 是 | 商户编码 | ||||
4 | SecurityKey | nvarchar | 200 | 0 | 是 | API密钥 | ||||
5 | Since | datetime | 8 | 3 | 是 | 激活日期 | ||||
6 | LastConnected | datetime | 8 | 3 | 是 | 最后一次通信时刻 | ||||
7 | Alias | nvarchar | 50 | 0 | 是 | 别名 | ||||
8 | ShopName | nvarchar | 50 | 0 | 是 | 店铺名称 | ||||
9 | Remind | nvarchar | 200 | 0 | 是 | 备注 | ||||
10 | IsDefault | int | 4 | 0 | 是 | 是否是默认打印机 |
飞印打印设备表
GO
CREATE TABLE [dbo].[ZL_Shop_PrintDevice](
[ID] [int] IDENTITY(1,1) NOT NULL,
[DeviceNo] [nvarchar](200) NULL,
[MemberCode] [nvarchar](200) NULL,
[SecurityKey] [nvarchar](200) NULL,
[Since] [datetime] NULL,
[LastConnected] [datetime] NULL,
[Alias] [nvarchar](50) NULL,
[ShopName] [nvarchar](50) NULL,
[Remind] [nvarchar](200) NULL,
[IsDefault] [int] NULL,
CONSTRAINT [PK_ZL_Shop_Feyin] 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]
detele from ZL_Shop_PrintDevice
drop table ZL_Shop_PrintDevice
TRUNCATE table ZL_Shop_PrintDevice