y_ys79
2024-01-05 e5840972b6b17ec03bfc1069a9cacfe0cef189c6
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
package com.qianwen.mdc.dto;
 
import java.util.Date;
 
import org.springframework.format.annotation.DateTimeFormat;
 
/**
 * 设备保养分页查询入参dto
 */
public class MachineMaintainQueryDTO extends BasePageDTO{
    
    /**
     * 统一编号
     */
    private String sn;
    
    /*
     * 保养类型,1:日常保养;2:一级保养;3:二级保养;4:三级保养
     */
    private Integer style;
    /**
     * 设备id
     */
    private Integer machineId;
    /**
     * 设备型号,文本
     */
    private String type;
    /**
     * 是否合格
     */
    private Boolean isQualified;
    /**
     * TODO 计划状态,1开始,目前未使用,暂时注释,可能是状态的进度
     */
    //private String status;
    /**
     * 保养内容和问题,详细说明文本
     */
    private String detail;
    
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDateFrom;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDateTo;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date completeDateFrom;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date completeDateTo;
    /**
     * 保养者id
     */
    private Integer userId;
    
    /**
     * 使用单位(文字):工艺/编制/生产
     */
    private String department;
    
    public String getSn() {
        return sn;
    }
    public void setSn(String sn) {
        this.sn = sn;
    }
    public Integer getStyle() {
        return style;
    }
    public void setStyle(Integer style) {
        this.style = style;
    }
    public Integer getMachineId() {
        return machineId;
    }
    public void setMachineId(Integer machineId) {
        this.machineId = machineId;
    }
    public String getType() {
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public Boolean getIsQualified() {
        return isQualified;
    }
    public void setIsQualified(Boolean isQualified) {
        this.isQualified = isQualified;
    }
    public String getDetail() {
        return detail;
    }
    public void setDetail(String detail) {
        this.detail = detail;
    }
    public Date getStartDateFrom() {
        return startDateFrom;
    }
    public void setStartDateFrom(Date startDateFrom) {
        this.startDateFrom = startDateFrom;
    }
    public Date getStartDateTo() {
        return startDateTo;
    }
    public void setStartDateTo(Date startDateTo) {
        this.startDateTo = startDateTo;
    }
    public Date getCompleteDateFrom() {
        return completeDateFrom;
    }
    public void setCompleteDateFrom(Date completeDateFrom) {
        this.completeDateFrom = completeDateFrom;
    }
    public Date getCompleteDateTo() {
        return completeDateTo;
    }
    public void setCompleteDateTo(Date completeDateTo) {
        this.completeDateTo = completeDateTo;
    }
    public Integer getUserId() {
        return userId;
    }
    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public String getDepartment() {
        return department;
    }
    public void setDepartment(String department) {
        this.department = department;
    }
    
    
}