whycxzp
2021-03-27 6b0b66f359b1991ecfd7cbccc01cdf8370763bb9
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
package com.whyc.pojo;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.ibatis.type.Alias;
 
import java.util.Date;
 
/**
 * 设备维护
 */
@Alias("DeviceMaintain")
@TableName(schema = "db_experiment",value = "tb_device_maintain")
public class DeviceMaintain {
    private Integer num;
    @TableId(type = IdType.INPUT)
    private Integer deviceId;
    /**维护厂家*/
    private String  owner;
    /**维护人员*/
    private String  owner2;
    /**联系电话*/
    private String  phone;
    /**维护周期,单位为月*/
    private Integer  cycle;
    /**首次维护时间*/
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date firstTime;
    /**提前提醒时间,单位为天*/
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date reminderTime;
    /**提醒方式:1-列表提醒,2-页面弹窗,3-短信提醒*/
    private Integer  reminderType;
    /**维护状态:1-待维护,0-已维护*/
    private Integer status;
    /**实际维护时间*/
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date actualTime;
    /**实际维护人员*/
    private String actualOwner2;
    /**主要维护内容*/
    private String content;
 
    public Integer getNum() {
        return num;
    }
 
    public void setNum(Integer num) {
        this.num = num;
    }
 
    public Integer getDeviceId() {
        return deviceId;
    }
 
    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }
 
    public String getOwner() {
        return owner;
    }
 
    public void setOwner(String owner) {
        this.owner = owner;
    }
 
    public String getOwner2() {
        return owner2;
    }
 
    public void setOwner2(String owner2) {
        this.owner2 = owner2;
    }
 
    public String getPhone() {
        return phone;
    }
 
    public void setPhone(String phone) {
        this.phone = phone;
    }
 
    public Integer getCycle() {
        return cycle;
    }
 
    public void setCycle(Integer cycle) {
        this.cycle = cycle;
    }
 
    public Date getReminderTime() {
        return reminderTime;
    }
 
    public void setReminderTime(Date reminderTime) {
        this.reminderTime = reminderTime;
    }
 
    public Integer getReminderType() {
        return reminderType;
    }
 
    public void setReminderType(Integer reminderType) {
        this.reminderType = reminderType;
    }
 
    public Date getFirstTime() {
        return firstTime;
    }
 
    public void setFirstTime(Date firstTime) {
        this.firstTime = firstTime;
    }
 
    public Integer getStatus() {
        return status;
    }
 
    public void setStatus(Integer status) {
        this.status = status;
    }
 
    public Date getActualTime() {
        return actualTime;
    }
 
    public void setActualTime(Date actualTime) {
        this.actualTime = actualTime;
    }
 
    public String getActualOwner2() {
        return actualOwner2;
    }
 
    public void setActualOwner2(String actualOwner2) {
        this.actualOwner2 = actualOwner2;
    }
 
    public String getContent() {
        return content;
    }
 
    public void setContent(String content) {
        this.content = content;
    }
}