| | |
| | | import lombok.Data; |
| | | import org.springframework.data.annotation.Id; |
| | | import org.springframework.data.mongodb.core.geo.GeoJsonPoint; |
| | | import org.springframework.data.mongodb.core.index.CompoundIndex; |
| | | import org.springframework.data.mongodb.core.index.CompoundIndexes; |
| | | import org.springframework.data.mongodb.core.index.GeoSpatialIndexType; |
| | | import org.springframework.data.mongodb.core.index.GeoSpatialIndexed; |
| | | import org.springframework.data.mongodb.core.mapping.Document; |
| | |
| | | @Data |
| | | @ApiModel("运维人员状态") |
| | | @Document(collection = "xp_operations_user_position") |
| | | @CompoundIndexes({ |
| | | @CompoundIndex(name = "idx_status", def = "{'status': 1}"), |
| | | @CompoundIndex(name = "idx_location", def = "{'location': '2dsphere'}") |
| | | }) |
| | | public class XpOperationsUserPositionDTO { |
| | | |
| | | @ApiModelProperty(value = "运维人员id") |