序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | UserID | int | 4 | 0 | 是 | 送货员用户ID | ||||
3 | Auth | nvarchar | 4000 | 0 | 是 | 权限信息 | ||||
4 | StoreID | int | 4 | 0 | 是 | 所属店铺ID | ||||
5 | ZStatus | int | 4 | 0 | 是 | 状态[预留] | ||||
6 | Remind | nvarchar | 500 | 0 | 是 | 备注 | ||||
7 | CDate | datetime | 8 | 3 | 是 | 添加时间 | ||||
8 | Bonus | money | 8 | 4 | 是 | 送货人分红比率 |
送货员表
GO
CREATE TABLE [dbo].[ZL_Shop_DeliveryMan](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NULL,
[Auth] [nvarchar](4000) NULL,
[StoreID] [int] NULL,
[ZStatus] [int] NULL,
[Remind] [nvarchar](500) NULL,
[CDate] [datetime] NULL,
[Bonus] [money] NULL,
CONSTRAINT [PK_ZL_Shop_DeliverMan] 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_DeliveryMan
drop table ZL_Shop_DeliveryMan
TRUNCATE table ZL_Shop_DeliveryMan