admin
2021-11-22 ec21251764082bebde0f68966332751c288d786c
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;
    }
}