From 580b4e145fbde14ed15c05c84d0361bf82011b23 Mon Sep 17 00:00:00 2001 From: tian <156691306@qq.com> Date: Tue, 20 May 2025 13:42:31 +0800 Subject: [PATCH] create_ufutx_s2_commissions --- 1747719740_create_ufutx_s2_commissions.up.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 1747719740_create_ufutx_s2_commissions.up.sql diff --git a/1747719740_create_ufutx_s2_commissions.up.sql b/1747719740_create_ufutx_s2_commissions.up.sql new file mode 100644 index 0000000..6606615 --- /dev/null +++ b/1747719740_create_ufutx_s2_commissions.up.sql @@ -0,0 +1,15 @@ +CREATE TABLE `health`.`ufutx_s2_commissions` ( + `id` BIGINT NOT NULL AUTO_INCREMENT , + `order_id` BIGINT NOT NULL COMMENT 'dma订单id' , + `type` TINYINT NOT NULL COMMENT '1=服务费用, 2=推荐费用' , + `amount` BIGINT NOT NULL COMMENT '分润金额(单位:分), 不能小于1' , + `beneficiary_user_id` BIGINT NOT NULL COMMENT '受益人用户id' , + `beneficiary_role_id` INT NOT NULL COMMENT '受益人角色' , + `remark` TEXT NULL DEFAULT NULL COMMENT '备注' , + `remark_refuse` TEXT NULL DEFAULT NULL COMMENT '拒绝备注' , + `status` TINYINT NOT NULL DEFAULT '1' COMMENT '状态, 1=审核中,2=被拒绝, 3=通过' , + `withdraw_id` BIGINT NOT NULL DEFAULT '0' COMMENT '提现id, 审核通过后有' , + `created_at` TIMESTAMP NULL DEFAULT NULL , + `updated_at` TIMESTAMP NULL DEFAULT NULL , + PRIMARY KEY (`id`) +) ENGINE = InnoDB COMMENT = 'dma分润表'; \ No newline at end of file