package com.matrix.system.app.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
/**
|
* @author wzy
|
* @date 2020-12-24
|
**/
|
@ApiModel(value = "ServiceOrderListDto", description = "服务单列表参数接收类")
|
public class ServiceOrderListDto extends BasePageDto{
|
|
@ApiModelProperty(value = "查询参数")
|
private String queryKey;
|
|
@ApiModelProperty(value = "状态 0/全部 1/带预约 2/带配料 3/待服务 4/服务中 5/已完成")
|
private String status;
|
|
@ApiModelProperty(hidden = true)
|
private Long shopId;
|
|
@ApiModelProperty(hidden = true)
|
private Long userId;
|
|
public Long getUserId() {
|
return userId;
|
}
|
|
public void setUserId(Long userId) {
|
this.userId = userId;
|
}
|
|
public Long getShopId() {
|
return shopId;
|
}
|
|
public void setShopId(Long shopId) {
|
this.shopId = shopId;
|
}
|
|
public String getQueryKey() {
|
return queryKey;
|
}
|
|
public void setQueryKey(String queryKey) {
|
this.queryKey = queryKey;
|
}
|
|
public String getStatus() {
|
return status;
|
}
|
|
public void setStatus(String status) {
|
switch (status) {
|
case "0" :
|
this.status = "";
|
break;
|
case "1":
|
this.status = "待预约";
|
break;
|
case "2" :
|
this.status = "带配料";
|
break;
|
case "3" :
|
this.status = "待服务";
|
break;
|
case "4" :
|
this.status = "服务中";
|
break;
|
case "5" :
|
this.status = "已完成";
|
break;
|
default:
|
this.status = "";
|
break;
|
}
|
}
|
}
|