-- hh
-- 贵族功能

CREATE TABLE `role_sup_vip`(
    `role_id` bigint(20) UNSIGNED NOT NULL COMMENT '人物id',
    `type` tinyint(2) UNSIGNED NOT NULL DEFAULT 0 COMMENT '是否是永久vip 0否|1是',
    `continue_charge_days` tinyint(5) UNSIGNED NOT NULL DEFAULT 0 COMMENT '连续充值天数',
    `today_charge` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '今日已充值',
    `last_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '最近一次充值时间',
    `total_charge` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '体验阶段总充值量',
    `end_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '体验贵族结束时间',
    `unlock_ids` varchar(100) NOT NULL DEFAULT '[]' COMMENT '贵族商城当前解锁序列',
    `today_star` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '今日星钻',
    `update_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '最近更新时间',
    PRIMARY KEY(`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT="人物贵族数据";
