admin
2021-06-26 5d9e2fbeab87327ce11080485bf4d971f93f542a
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
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/服务中 6/已完成 ")
    private String status;
 
 
    @ApiModelProperty(hidden = true)
    private Long shopId;
 
    @ApiModelProperty(hidden = true)
    private Long userId;
 
    @ApiModelProperty(value = "客户ID")
    private Long vipId;
 
    @ApiModelProperty(hidden = true)
    private Long companyId;
 
    public Long getCompanyId() {
        return companyId;
    }
 
    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }
 
    public Long getVipId() {
        return vipId;
    }
 
    public void setVipId(Long vipId) {
        this.vipId = vipId;
    }
 
    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;
            case "6" :
                this.status = "服务完成";
                break;
            default:
                this.status = "";
                break;
        }
    }
}