From 65aaf1c05bd06cefa82ebc40cc3e01cf4ac233c0 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 27 七月 2024 13:52:08 +0800
Subject: [PATCH] 代理新功能完善

---
 src/main/java/com/taoke/autopay/entity/agent/ChannelAgentSharingRatio.java |   25 ++++++++++++++++++++++---
 1 files changed, 22 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/taoke/autopay/entity/agent/ChannelAgentSharingRatio.java b/src/main/java/com/taoke/autopay/entity/agent/ChannelAgentSharingRatio.java
index 00fe5f6..55d2fd0 100644
--- a/src/main/java/com/taoke/autopay/entity/agent/ChannelAgentSharingRatio.java
+++ b/src/main/java/com/taoke/autopay/entity/agent/ChannelAgentSharingRatio.java
@@ -1,7 +1,11 @@
 package com.taoke.autopay.entity.agent;
 
 import com.taoke.autopay.entity.OrderChannelEnum;
+import lombok.Builder;
 import lombok.Data;
+import org.springframework.data.annotation.Id;
+import org.yeshi.utils.generater.mybatis.Column;
+import org.yeshi.utils.generater.mybatis.Table;
 
 import java.math.BigDecimal;
 import java.util.Date;
@@ -13,24 +17,39 @@
  * @date 2024/7/20 22:45
  */
 @Data
+@Builder
+@Table(value = "table_agent_sharing_ratio")
 public class ChannelAgentSharingRatio {
+    // 閲囩敤閲戦鐨勫垎鎴愭柟寮�
+    public final static int SHARE_TYPE_MONEY = 0;
+    // 閲囩敤姣斾緥鐨勫垎鎴愭柟寮�
+    public final static int SHARE_TYPE_RATIO = 1;
+
+
+    @Id
+    @Column(name = "_id")
     private Long id;
     /**
      * 娓犻亾ID
      **/
+    @Column(name = "_agent_id")
     private Long agengId;
 
     /**
      * 璁㈠崟娓犻亾
      **/
+    @Column(name = "_order_channel")
     private OrderChannelEnum orderChannel;
 
+    @Column(name = "_share_type")
+    private Integer shareType;
     /**
      * 鍒嗘垚姣斾緥
      **/
-    private BigDecimal shareRatio;
-
+    @Column(name = "_share_value")
+    private BigDecimal shareValue;
+    @Column(name = "_create_time")
     private Date createTime;
-
+    @Column(name = "_update_time")
     private Date updateTime;
 }

--
Gitblit v1.8.0