From c253b555c7905c5136d47cd615ef545fa50cc6ad Mon Sep 17 00:00:00 2001
From: 935090232@qq.com <ak473600000>
Date: Sun, 20 Feb 2022 21:24:16 +0800
Subject: [PATCH] Merge branch 'api_score_meger'
---
zq-erp/src/main/java/com/matrix/system/score/entity/ScoreVipDetail.java | 131 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 131 insertions(+), 0 deletions(-)
diff --git a/zq-erp/src/main/java/com/matrix/system/score/entity/ScoreVipDetail.java b/zq-erp/src/main/java/com/matrix/system/score/entity/ScoreVipDetail.java
new file mode 100644
index 0000000..b32fe45
--- /dev/null
+++ b/zq-erp/src/main/java/com/matrix/system/score/entity/ScoreVipDetail.java
@@ -0,0 +1,131 @@
+package com.matrix.system.score.entity;
+
+import com.matrix.core.anotations.Extend;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import lombok.Data;
+
+import java.util.Date;
+
+/**
+ * @description 客户积分余额
+ * @author jyy
+ * @date 2021-02-26 15:26
+ */
+@Data
+@TableName("score_vip_detail")
+public class ScoreVipDetail extends BaseEntity{
+ @Extend
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 获取类型(1:现金消费)
+ */
+ public static final int SCORE_VIP_TYPE_CASH=1;
+
+
+ /**
+ * 获取类型(2:赠送等)
+ */
+ public static final int SCORE_VIP_TYPE_CONSUME=2;
+ /**
+ * 获取类型(3推荐客户)
+ */
+ public static final int SCORE_VIP_TYPE_REFERRER=3;
+ /**
+ * 获取类型(4参加活动)
+ */
+ public static final int SCORE_VIP_TYPE_JOIN_ACTIVE=4;
+
+
+ /**
+ * 获取类型(4人工调整)
+ */
+ public static final int SCORE_VIP_TYPE_USERCHANGE=4;
+ /**
+ * 获取类型(5积分失效)
+ */
+ public static final int SCORE_OVER_TIME=5;
+
+ /** 有效*/
+ public static final int SCORE_STATUS_YX=1;
+ /** 无效*/
+ public static final int SCORE_STATUS_WX=2;
+
+
+
+
+
+ /**
+ * erp用户Id
+ */
+ private Long vipId;
+
+
+ /**
+ * 获取类型(1:现金消费2:赠送等)
+ */
+
+
+ private Integer type;
+
+ /**
+ * 积分总数
+ */
+
+
+ private Integer allScore;
+
+ /**
+ * 已使用积分
+ */
+
+
+ private Integer usedScore;
+
+ /**
+ * 剩余积分
+ */
+
+
+ private Integer remainScore;
+
+ /**
+ * 获取时间
+ */
+
+
+ private Date gainTime;
+
+ /**
+ * 到期时间
+ */
+
+
+ private Date validiteTime;
+
+ /**
+ * 有效状态(1:有效 2:无效)
+ */
+
+
+ private Integer state;
+
+ /**
+ * 原始单据ID
+ */
+
+
+ private Long businessId;
+
+ /**
+ * 所属公司_id
+ */
+
+
+ private Long companyId;
+
+
+
+
+}
\ No newline at end of file
--
Gitblit v1.9.1