bank.md 854 B

银行记录表

bank_code :银行代码 如CCBC ICBC,

bank_name : 银行名称,

swift_code : 由swift的组织提供的银行识别代码

CREATE TABLE `bank` (
    `id` int NOT NULL AUTO_INCREMENT,
    `bank_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '银行名称中文',
    `bank_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '银行代码',
    `state` int DEFAULT NULL,
    `created_at` datetime DEFAULT NULL,
    `updated_at` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
    `deleted_at` datetime DEFAULT NULL,
    `swift_code` varchar(32) DEFAULT NULL COMMENT 'SWIFT  代码',
    PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC COMMENT='币种';