From 7d4d5f6000f09cf7e1b5e94e7873208b00315c61 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期三, 05 一月 2022 09:39:03 +0800
Subject: [PATCH] 数字商业街 订单管理
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActUserWalletTradeDO.java | 45 +++++++++++++++++++++++++++++----------------
1 files changed, 29 insertions(+), 16 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActUserWalletTradeDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActUserWalletTradeDO.java
index 448cb4e..5002f34 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActUserWalletTradeDO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActUserWalletTradeDO.java
@@ -1,14 +1,14 @@
package com.panzhihua.service_community.model.dos;
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
-import lombok.Data;
-
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import lombok.Data;
/**
* @auther lyq
@@ -73,18 +73,31 @@
*/
private Long walletId;
+ /**
+ * 变动类型(1.增加 2.减少)
+ */
+ private Integer changeType;
+
@Override
public String toString() {
- return "ComActUserWalletTradeDO{" +
- "id=" + id +
- ", userId=" + userId +
- ", communityId=" + communityId +
- ", serviceId=" + serviceId +
- ", amount=" + amount +
- ", type=" + type +
- ", remark=" + remark +
- ", createAt=" + createAt +
- ", createBy=" + createBy +
- "}";
+ return "ComActUserWalletTradeDO{" + "id=" + id + ", userId=" + userId + ", communityId=" + communityId
+ + ", serviceId=" + serviceId + ", amount=" + amount + ", type=" + type + ", remark=" + remark
+ + ", createAt=" + createAt + ", createBy=" + createBy + "}";
+ }
+
+ /**
+ * 交易类型(1.发布随手拍 2.结算)
+ */
+ public interface type {
+ int fb = 1;
+ int js = 2;
+ }
+
+ /**
+ * 变动类型(1.增加 2.减少)
+ */
+ public interface changeType {
+ int add = 1;
+ int reduce = 2;
}
}
\ No newline at end of file
--
Gitblit v1.7.1