| | |
| | | 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;
|
| | |
|
| | |
| | | private String id;
|
| | |
|
| | | @Field
|
| | | @Indexed
|
| | | private Long bossId; // 上级id
|
| | |
|
| | | @Field
|
| | | @Indexed
|
| | | private Long bossSuperId; // 上上级id
|
| | |
|
| | | @Field
|
| | | @Indexed
|
| | | private Long workerId; // 下级id
|
| | |
|
| | | @Field
|
| | |
| | | @Field
|
| | | private String tagsSup; // 间接上级标签
|
| | |
|
| | | @Field
|
| | | private Date crateTime; // 创建时间
|
| | | |
| | | @Field
|
| | | private Date updateTime; // 更新时间
|
| | |
|
| | |
| | | this.updateTime = updateTime;
|
| | | }
|
| | |
|
| | | public Date getCrateTime() {
|
| | | return crateTime;
|
| | | }
|
| | |
|
| | | public void setCrateTime(Date crateTime) {
|
| | | this.crateTime = crateTime;
|
| | | }
|
| | |
|
| | | }
|