|
@@ -1,5 +1,5 @@
|
|
|
|
|
|
-###商户基本信息表 `merchant`
|
|
|
|
|
|
+###商户基本信息表 `merchant_kyc`
|
|
|
|
|
|
|
|
|
|
> merchant_id: 关联商户的id [merchant.id](./merchant_struct.md)
|
|
> merchant_id: 关联商户的id [merchant.id](./merchant_struct.md)
|
|
@@ -9,6 +9,14 @@
|
|
> tel: 电话,
|
|
> tel: 电话,
|
|
>
|
|
>
|
|
> biz_license_code: 营业执照号,
|
|
> biz_license_code: 营业执照号,
|
|
|
|
+>
|
|
|
|
+> biz_country: 注册地国家或地区, 多个国家的数组序列化的json字符,[1,2,3,...],关联[area.id](./area.md)
|
|
|
|
+>
|
|
|
|
+> payment_country: 付款款国家及地区,多个国家的数组序列化的json字符,[1,2,3,...],关联[area.id](./area.md)
|
|
|
|
+>
|
|
|
|
+> receiving_country:收款国家及地区,多个国家的数组序列化的json字符,[1,2,3,...],关联[area.id](./area.md)
|
|
|
|
+>
|
|
|
|
+> id_card_img:身份证 正反面图片数组序列化的json字符 `["http:oss.com/dddw4adgr52.jpeg","http:oss.com/dk2ldd4etyadgr5.jpeg"],`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -22,6 +30,18 @@ CREATE TABLE `merchant_kyc` (
|
|
`company_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '企业名称',
|
|
`company_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '企业名称',
|
|
`tel` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '电话',
|
|
`tel` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '电话',
|
|
`biz_license_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '营业执照号',
|
|
`biz_license_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '营业执照号',
|
|
|
|
+ `website` varchar(255) DEFAULT NULL COMMENT '商户的官方站点',
|
|
|
|
+ `contacts` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '联系人',
|
|
|
|
+ `industry` varchar(32) DEFAULT NULL COMMENT '所属于的行业',
|
|
|
|
+ `service_desc` varchar(255) DEFAULT NULL COMMENT '提供的服务或业务',
|
|
|
|
+ `state` tinyint(1) DEFAULT NULL COMMENT '状态',
|
|
|
|
+ `biz_country` tinytext CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '企业注册国家或地区,多个,关联area的country',
|
|
|
|
+ `biz_license_img` varchar(255) DEFAULT NULL COMMENT '营业执照的图片地址',
|
|
|
|
+ `receiving_country` tinytext CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '收款国家及地区 ,多个',
|
|
|
|
+ `payment_country` tinytext CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '付款国家及地区 ,多个',
|
|
|
|
+ `id_card_img` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT '法人或授权人的照片',
|
|
|
|
+ `identity_state` tinyint(1) DEFAULT NULL COMMENT '审核状态',
|
|
|
|
+ `amount_range` int DEFAULT NULL COMMENT '预计月均交易量 的id',
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='商户基本信息表';
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='商户基本信息表';
|
|
```
|
|
```
|