whycxzp
2023-09-09 d53c34e999bed9cb93f8757aed161a4b590d64d1
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
package com.whyc.pojo;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
 
import java.util.Date;
import java.util.List;
import java.util.Map;
 
/**
 * SOP:操作指导书
 */
@TableName("tb_sop")
public class SOP {
 
    private Integer id;
    /**文件名*/
    private String fileName;
    //11,12,13,14
    //21,22,23,24
    private String fileType;
    /**文件版本*/
    private String fileVersion;
    /**文件关联版本*/
    private String fileRelatedVersion;
    /**编辑者*/
    private String editor;
    /**审核者*/
    private String auditor;
    /**发布时间*/
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date releaseDate;
    /**发布说明*/
    private String releaseNotes;
    /**创建时间*/
    private Date createTime;
    /**上传用户*/
    private String uploadUser;
    /**文件url*/
    private String fileUrl;
 
    /**通用表示(0:非通用,1:通用)*/
    private int currentFlag;
    /**是否有效*/
    private Integer status;
 
    /**
     * [
     *      {"组装":["组1","组2"]},
     *      {"测试":["测1","测2"}
     * ]
     */
    @TableField(exist = false)
    private List<Map<String,List<String>>> fileTypeList;
 
    @TableField(exist = false)
    private List<SOPProduct> sopProductList;
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public String getFileName() {
        return fileName;
    }
 
    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
 
    public String getFileType() {
        return fileType;
    }
 
    public void setFileType(String fileType) {
        this.fileType = fileType;
    }
 
    public String getFileVersion() {
        return fileVersion;
    }
 
    public void setFileVersion(String fileVersion) {
        this.fileVersion = fileVersion;
    }
 
    public String getFileRelatedVersion() {
        return fileRelatedVersion;
    }
 
    public void setFileRelatedVersion(String fileRelatedVersion) {
        this.fileRelatedVersion = fileRelatedVersion;
    }
 
    public String getEditor() {
        return editor;
    }
 
    public void setEditor(String editor) {
        this.editor = editor;
    }
 
    public String getAuditor() {
        return auditor;
    }
 
    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }
 
    public Date getReleaseDate() {
        return releaseDate;
    }
 
    public void setReleaseDate(Date releaseDate) {
        this.releaseDate = releaseDate;
    }
 
    public String getReleaseNotes() {
        return releaseNotes;
    }
 
    public void setReleaseNotes(String releaseNotes) {
        this.releaseNotes = releaseNotes;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public String getUploadUser() {
        return uploadUser;
    }
 
    public void setUploadUser(String uploadUser) {
        this.uploadUser = uploadUser;
    }
 
    public List<SOPProduct> getSopProductList() {
        return sopProductList;
    }
 
    public void setSopProductList(List<SOPProduct> sopProductList) {
        this.sopProductList = sopProductList;
    }
 
    public String getFileUrl() {
        return fileUrl;
    }
 
    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }
 
    public List<Map<String, List<String>>> getFileTypeList() {
        return fileTypeList;
    }
 
    public void setFileTypeList(List<Map<String, List<String>>> fileTypeList) {
        this.fileTypeList = fileTypeList;
    }
 
 
    public int getCurrentFlag() {
        return currentFlag;
    }
 
    public void setCurrentFlag(int currentFlag) {
        this.currentFlag = currentFlag;
    }
 
    public Integer getStatus() {
        return status;
    }
 
    public void setStatus(Integer status) {
        this.status = status;
    }
}