xuhy
2026-04-14 3cc3d0a10593c109a015d01ee05de8da73443778
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package com.xiaopeng.api.dto.account;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
/**
 * 运维人员查询条件DTO
 *
 * @author mitao
 */
@Data
@ApiModel("运维人员状态")
public class XpOperationsUserPositionDTO {
 
    @ApiModelProperty(value = "运维人员id")
    private long id;
 
    @ApiModelProperty(value = "经度")
    private double latitude;
 
    @ApiModelProperty(value = "纬度")
    private double longitude;
 
    @ApiModelProperty(value = "纬度")
    private double distance;
 
 
    @ApiModelProperty(value = "状态;在线 , 上班中 , 空闲")
    private Long status;
 
    enum Status {
        online("在线"),working("上班中"),idle("空闲");
 
        String label;
 
        Status(String label) {
            this.label = label;
        }
    }
}