###商户付款联系人表 `merchant_contperson` >merchant_id :关联商户的id [merchant.id](./merchant_struct.md) > >bank_name:银行名称,关联 [bank.bank_name](./bank.md) > >bank_code:银行代码,关联 [bank.bank_code](./bank.md) > > bank_account_no :银行账户编号 > >swift_code:银行的SWIFT代码,关联 [bank.swift_code](./bank.md) > >currency_type:支持的收款币种,关联 [currency.currency_type](./currency.md) > >country & province & city: 账户所属的国家/地区关联 ;省/州 ;城市 [area.area_name](./area.md) > > postal_code: 账户所属地址的邮政编码 [area.postal_code](./area.md) ```mysql CREATE TABLE `merchant_contperson` ( `id` int NOT NULL AUTO_INCREMENT, `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间', `deleted_at` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间', `merchant_id` int NOT NULL DEFAULT '0' COMMENT '商户ID', `bank_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '银行名称', `bank_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '银行代码', `bank_account_no` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '银行账户编号', `account_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '账户编号', `account_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '账户名', `country` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '账户所属的国家/地区', `province` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '账户所属的省/州', `city` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '账户所属的城市', `address` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '详细地址', `postal_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '邮政编码', `swift_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL COMMENT 'SWIFT CODE', `bank_country` int DEFAULT NULL COMMENT '收款账户行的国家', `currency_type` varchar(16) DEFAULT NULL COMMENT '支持的收款币种', PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='商户付款联系人表'; ```