序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | Min | money | 8 | 4 | 是 | 充值金额,必须大于该值才可获取该条优惠 | ||||
3 | Purse | money | 8 | 4 | 是 | 赠送余额 | ||||
4 | Sicon | money | 8 | 4 | 是 | 赠送银币 | ||||
5 | Point | money | 8 | 4 | 是 | 赠送积分 | ||||
6 | UserRemind | nvarchar | 500 | 0 | 是 | 用户备注 | ||||
7 | AdminRemind | nvarchar | 500 | 0 | 是 | 管理员备注 | ||||
8 | AdminID | int | 4 | 0 | 是 | 充值规则管理员ID | ||||
9 | EditDate | datetime | 8 | 3 | 是 | 修改日期 | ||||
10 | CDate | datetime | 8 | 3 | 是 | 创建日期 |
充值赠送规则
GO
CREATE TABLE [dbo].[ZL_User_MoneyRegular](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Min] [money] NULL,
[Purse] [money] NULL,
[Sicon] [money] NULL,
[Point] [money] NULL,
[UserRemind] [nvarchar](500) NULL,
[AdminRemind] [nvarchar](500) NULL,
[AdminID] [int] NULL,
[EditDate] [datetime] NULL,
[CDate] [datetime] NULL,
CONSTRAINT [PK_ZL_User_MoneyChargeRegular] 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_User_MoneyRegular
drop table ZL_User_MoneyRegular
TRUNCATE table ZL_User_MoneyRegular