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;
|
}
|
}
|
}
|