序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | Y_ID | int | 4 | 0 | 是 | 是 | 否 | 主键ID | ||
2 | UserID | int | 4 | 0 | 是 | |||||
3 | YName | nvarchar | 100 | 0 | 是 | 存用户名 | ||||
4 | money | money | 8 | 4 | 是 | 提现金额 | ||||
5 | sTime | datetime | 8 | 3 | 是 | 提现时间 | ||||
6 | Account | nvarchar | 500 | 0 | 是 | 银行帐户 | ||||
7 | Bank | nvarchar | 100 | 0 | 是 | 银行 | ||||
8 | eTime | datetime | 8 | 3 | 是 | 处理时间 | ||||
9 | yState | int | 4 | 0 | 是 | 状态:0:待处理,99:成功,-1拒绝 | ||||
10 | Classes | int | 4 | 0 | 是 | 申请类型,0:银行卡提现,1:余额提现 | ||||
11 | PeopleName | nvarchar | 100 | 0 | 是 | 开户人姓名 | ||||
12 | Result | nvarchar | 500 | 0 | 是 | 处理结果(管理员) | ||||
13 | Remark | nvarchar | 500 | 0 | 是 | 处理备注(用户) | ||||
14 | WithdrawFee | money | 8 | 4 | 是 | 取现费率 |
资金表
GO
CREATE TABLE [dbo].[ZL_Cash](
[Y_ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NULL,
[YName] [nvarchar](100) NULL,
[money] [money] NULL,
[sTime] [datetime] NULL,
[Account] [nvarchar](500) NULL,
[Bank] [nvarchar](100) NULL,
[eTime] [datetime] NULL,
[yState] [int] NULL,
[Classes] [int] NULL,
[PeopleName] [nvarchar](100) NULL,
[Result] [nvarchar](500) NULL,
[Remark] [nvarchar](500) NULL,
[WithdrawFee] [money] NULL,
CONSTRAINT [PK_ZL_Cash] PRIMARY KEY CLUSTERED
([Y_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_Cash
drop table ZL_Cash
TRUNCATE table ZL_Cash