From ec21251764082bebde0f68966332751c288d786c Mon Sep 17 00:00:00 2001 From: admin <2780501319@qq.com> Date: 星期一, 22 十一月 2021 00:13:52 +0800 Subject: [PATCH] 接口编写 --- app/src/main/java/com/yeshi/location/app/entity/location/LocationUsers.java | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/app/src/main/java/com/yeshi/location/app/entity/location/LocationUsers.java b/app/src/main/java/com/yeshi/location/app/entity/location/LocationUsers.java index c78c984..82943b7 100644 --- a/app/src/main/java/com/yeshi/location/app/entity/location/LocationUsers.java +++ b/app/src/main/java/com/yeshi/location/app/entity/location/LocationUsers.java @@ -1,5 +1,6 @@ package com.yeshi.location.app.entity.location; +import com.google.gson.annotations.Expose; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.index.Indexed; import org.springframework.data.mongodb.core.mapping.Document; @@ -38,6 +39,7 @@ } } + @Expose @Show(title = "ID") @Id private String id; @@ -47,14 +49,17 @@ @Indexed private Long uid; + @Expose @Show(title = "鐩爣鐢ㄦ埛ID") @DaoQueryCondition @Indexed private Long targetUid; + @Expose @Show(title = "鐩爣鐢ㄦ埛鍚嶇О") private String targetName; + @Expose @Show(title = "鐘舵��") @DaoQueryCondition @Indexed @@ -70,6 +75,11 @@ @DaoQueryCondition @Indexed private Date accessTime; + + @Show(title = "鎷掔粷鏃堕棿") + @DaoQueryCondition + @Indexed + private Date rejectTime; @Show(title = "鍒涘缓鏃堕棿") @DaoQueryCondition @@ -163,4 +173,12 @@ public void setSentCount(Integer sentCount) { this.sentCount = sentCount; } + + public Date getRejectTime() { + return rejectTime; + } + + public void setRejectTime(Date rejectTime) { + this.rejectTime = rejectTime; + } } -- Gitblit v1.8.0