puzhibing
2026-04-24 bb671486066976fa67477ed71d1d424a6ee4e012
xp-robotaxi-api/src/main/java/com/xiaopeng/api/dto/account/XpOperationsUserPositionDTO.java
@@ -6,6 +6,8 @@
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;
@@ -18,6 +20,10 @@
@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")