| | |
| | | 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; |
| | |
| | | } |
| | | } |
| | | |
| | | @Expose |
| | | @Show(title = "ID") |
| | | @Id |
| | | private String id; |
| | |
| | | @Indexed |
| | | private Long uid; |
| | | |
| | | @Expose |
| | | @Show(title = "目标用户ID") |
| | | @DaoQueryCondition |
| | | @Indexed |
| | | private Long targetUid; |
| | | |
| | | @Expose |
| | | @Show(title = "目标用户名称") |
| | | private String targetName; |
| | | |
| | | @Expose |
| | | @Show(title = "状态") |
| | | @DaoQueryCondition |
| | | @Indexed |
| | |
| | | @DaoQueryCondition |
| | | @Indexed |
| | | private Date accessTime; |
| | | |
| | | @Show(title = "拒绝时间") |
| | | @DaoQueryCondition |
| | | @Indexed |
| | | private Date rejectTime; |
| | | |
| | | @Show(title = "创建时间") |
| | | @DaoQueryCondition |
| | |
| | | public void setSentCount(Integer sentCount) { |
| | | this.sentCount = sentCount; |
| | | } |
| | | |
| | | public Date getRejectTime() { |
| | | return rejectTime; |
| | | } |
| | | |
| | | public void setRejectTime(Date rejectTime) { |
| | | this.rejectTime = rejectTime; |
| | | } |
| | | } |