/*
 Navicat Premium Data Transfer

 Source Server         : lecshop_v2
 Source Server Type    : MySQL
 Source Server Version : 50720
 Source Host           : 47.100.127.59:3306
 Source Schema         : lecshop_v2

 Target Server Type    : MySQL
 Target Server Version : 50720
 File Encoding         : 65001

 Date: 11/09/2019 15:02:31
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for ls_offline_payments
-- ----------------------------
DROP TABLE IF EXISTS `ls_offline_payments`;
CREATE TABLE `ls_offline_payments`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `car_order_id` bigint(11) NULL DEFAULT NULL,
  `down_payment_status` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '首付状态 0 未支付 1 已支付',
  `invoice_path` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '发票地址',
  `payType` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付方式  1 全款 2 贷款',
  `tail_status` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '尾款状态 0 未支付 1 已经支付',
  `delivery_path` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '交车证明',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'N',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '线下支付详情' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ls_offline_payments
-- ----------------------------
INSERT INTO `ls_offline_payments` VALUES (8, 203, '1', 'http://shopimg.jetour.com.cn/20190821/1566370765582.jpg', '2', NULL, NULL, '2019-08-21 14:59:27', '2019-08-21 14:59:27', 'N');
INSERT INTO `ls_offline_payments` VALUES (9, 200, '1', 'http://shopimg.jetour.com.cn/20190823/1566540257119.jpg', '2', NULL, 'http://shopimg.jetour.com.cn/20190823/1566540269704.jpg', '2019-08-23 14:04:18', '2019-08-23 14:04:18', 'N');

SET FOREIGN_KEY_CHECKS = 1;
