| | |
| | | import org.bson.types.ObjectId; |
| | | import org.springframework.data.annotation.CreatedDate; |
| | | import org.springframework.data.annotation.Id; |
| | | import org.springframework.data.mongodb.core.index.Indexed; |
| | | import org.springframework.data.mongodb.core.index.TextIndexed; |
| | | |
| | | import java.time.LocalDate; |
| | | import java.util.Date; |
| | |
| | | * 数据日期 |
| | | */ |
| | | @CreatedDate |
| | | @Indexed(background = true) |
| | | private LocalDate mongoCreateTime; |
| | | /** |
| | | * 国标码 |
| | | */ |
| | | @Indexed(background = true) |
| | | private String no; |
| | | /** |
| | | * 省厅 |
| | | */ |
| | | @Indexed(background = true) |
| | | private Boolean provinceTag; |
| | | //接收mysql数据用 |
| | | private Boolean provinceTagVideo; |
| | |
| | | /** |
| | | * 部级 |
| | | */ |
| | | @Indexed(background = true) |
| | | private Boolean deptTag; |
| | | |
| | | /** |
| | | * 重点 |
| | | */ |
| | | @Indexed(background = true) |
| | | private Boolean importantTag; |
| | | |
| | | /** |
| | | * 重点指挥图像 |
| | | */ |
| | | @Indexed(background = true) |
| | | private Boolean importantCommandImageTag; |
| | | |
| | | /** |
| | | * 新设备, true代表新设备,false和null不是新设备 |
| | | */ |
| | | @Indexed(background = true) |
| | | private Boolean newDevice; |
| | | } |