From 84b968d16a1f58dcd46aaa39d9593ef86189df04 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期四, 21 五月 2020 12:13:47 +0800
Subject: [PATCH] 添加活动名称

---
 fanli/src/main/java/com/yeshi/fanli/entity/order/OrderMoneyDailyCount.java |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/order/OrderMoneyDailyCount.java b/fanli/src/main/java/com/yeshi/fanli/entity/order/OrderMoneyDailyCount.java
index c5a6d8c..0c4265e 100644
--- a/fanli/src/main/java/com/yeshi/fanli/entity/order/OrderMoneyDailyCount.java
+++ b/fanli/src/main/java/com/yeshi/fanli/entity/order/OrderMoneyDailyCount.java
@@ -3,6 +3,7 @@
 import java.util.Date;
 
 import org.springframework.data.annotation.Id;
+import org.springframework.data.mongodb.core.index.Indexed;
 import org.springframework.data.mongodb.core.mapping.Document;
 import org.springframework.data.mongodb.core.mapping.Field;
 
@@ -46,12 +47,15 @@
 	@Id
 	@Field
 	private String id;
+	@Indexed
 	@Field
 	private Long uid; // 涓婄骇id
 	@Field
 	private SourceTypeEnum sourceType; // 鏉ユ簮绫诲瀷
+	@Indexed
 	@Field
 	private String yearMonth; // 缁熻鏃ユ湡-瀛楃涓�
+	@Indexed
 	@Field
 	private Date countDay; // 缁熻鏃ユ湡
 	@Field
@@ -76,6 +80,16 @@
 	private Integer inDirectOrderNum;// 闂存帴璁㈠崟鏁伴噺
 	@Field
 	private Integer beyondOrderNum;// 浜岀骇澶栬鍗曟暟閲�
+	
+	
+	public OrderMoneyDailyCount() {}
+	
+	public OrderMoneyDailyCount(Integer directOrderNum, Integer inDirectOrderNum, Integer beyondOrderNum) {
+		this.directOrderNum = directOrderNum;
+		this.inDirectOrderNum = inDirectOrderNum;
+		this.beyondOrderNum = beyondOrderNum;
+	}
+	
 
 	public Integer getDirectOrderNum() {
 		return directOrderNum;

--
Gitblit v1.8.0