|
|
|
@ -9,7 +9,7 @@ create table member_level
|
|
|
|
name varchar(30) default '' not null comment '等级名称',
|
|
|
|
name varchar(30) default '' not null comment '等级名称',
|
|
|
|
experience int default 0 not null comment '升级经验',
|
|
|
|
experience int default 0 not null comment '升级经验',
|
|
|
|
level int default 0 not null comment '等级',
|
|
|
|
level int default 0 not null comment '等级',
|
|
|
|
discount tinyint default 100 not null comment '享受折扣',
|
|
|
|
discount_percent tinyint default 100 not null comment '享受折扣',
|
|
|
|
icon varchar(255) default '' not null comment '等级图标',
|
|
|
|
icon varchar(255) default '' not null comment '等级图标',
|
|
|
|
background_url varchar(255) default '' not null comment '等级背景图',
|
|
|
|
background_url varchar(255) default '' not null comment '等级背景图',
|
|
|
|
status tinyint default 0 not null comment '状态',
|
|
|
|
status tinyint default 0 not null comment '状态',
|
|
|
|
@ -28,7 +28,7 @@ create table member_level_record
|
|
|
|
user_id bigint default 0 not null comment '用户编号',
|
|
|
|
user_id bigint default 0 not null comment '用户编号',
|
|
|
|
level_id bigint default 0 not null comment '等级编号',
|
|
|
|
level_id bigint default 0 not null comment '等级编号',
|
|
|
|
level int default 0 not null comment '会员等级',
|
|
|
|
level int default 0 not null comment '会员等级',
|
|
|
|
discount tinyint default 100 not null comment '享受折扣',
|
|
|
|
discount_percent tinyint default 100 not null comment '享受折扣',
|
|
|
|
experience int default 0 not null comment '升级经验',
|
|
|
|
experience int default 0 not null comment '升级经验',
|
|
|
|
user_experience int default 0 not null comment '会员此时的经验',
|
|
|
|
user_experience int default 0 not null comment '会员此时的经验',
|
|
|
|
remark varchar(255) default '' not null comment '备注',
|
|
|
|
remark varchar(255) default '' not null comment '备注',
|
|
|
|
|