
-- ----------------------------
-- Table structure for xy_coupon_list
-- ----------------------------
DROP TABLE IF EXISTS `xy_coupon_list`;
CREATE TABLE `xy_coupon_list`  (
  `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  `alias_id` int(10) NULL DEFAULT NULL,
  `alias` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `uid` int(10) NULL DEFAULT NULL,
  `status` tinyint(1) NULL DEFAULT 1,
  `start_time` int(10) NULL DEFAULT NULL,
  `end_time` int(10) NULL DEFAULT NULL,
  `receive_time` int(10) NULL DEFAULT NULL,
  `use_time` int(10) NULL DEFAULT NULL,
  `admin_uid` int(10) NULL DEFAULT NULL,
  `update_time` int(10) NULL DEFAULT NULL,
  `create_time` int(10) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `alias`(`alias`) USING BTREE,
  INDEX `user`(`uid`) USING BTREE,
  INDEX `ualias`(`alias`, `uid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 216 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '优惠券-列表' ROW_FORMAT = Dynamic;
