| | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.springframework.data.annotation.Id; |
| | | import org.springframework.data.mongodb.core.mapping.Document; |
| | | |
| | | /** |
| | | * 运维人员查询条件DTO |
| | |
| | | */ |
| | | @Data |
| | | @ApiModel("运维人员状态") |
| | | @Document(collection = "xp_operations_user_position") |
| | | public class XpOperationsUserPositionDTO { |
| | | |
| | | @ApiModelProperty(value = "运维人员id") |
| | | @Id |
| | | private long id; |
| | | |
| | | @ApiModelProperty(value = "经度") |
| | |
| | | @ApiModelProperty(value = "纬度") |
| | | private double longitude; |
| | | |
| | | @ApiModelProperty(value = "地理位置信息,用于MongoDB地理空间查询 [经度, 纬度]") |
| | | private double[] location; |
| | | |
| | | @ApiModelProperty(value = "状态:0在线,1空闲,2上班中") |
| | | private Integer status; |
| | | |