郑永安
2023-09-19 69185134fcfaf913ea45f1255677225a2cc311a4
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
package com.gk.hotwork.Domain;
 
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.gk.hotwork.Domain.Enum.HiddenDangerApplyOperation;
import com.gk.hotwork.Domain.Enum.SourceType;
 
import java.io.Serializable;
import java.util.Date;
 
@TableName("hiddendangerresource")
public class HiddenDangerResource implements Serializable {
 
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
 
    /** 主键id  id **/
    @TableId(type = IdType.AUTO)
    private Long id;
 
    /** 操作(上传隐患、上传整改)  operation **/
    private HiddenDangerApplyOperation operation;
 
    /** 所属隐患id  belongid **/
    private Long belongid;
 
    /** 源文件名  originalfilename **/
    private String originalfilename;
 
    /** 文件名  filename **/
    private String filename;
 
    /** 文件类型  type **/
    private String type;
 
    /** 相对路径地址  url **/
    private String url;
 
    /** 创建时间  createtime **/
    private Date createtime;
 
    /** 有效标识  validflag **/
    private Boolean validflag;
 
    /** 排序  order **/
    private Integer sort;
 
    private SourceType source;
 
    /**   主键id  id   **/
    public Long getId() {
        return id;
    }
 
    /**   主键id  id   **/
    public void setId(Long id) {
        this.id = id;
    }
 
    public HiddenDangerApplyOperation getOperation() {
        return operation;
    }
 
    public void setOperation(HiddenDangerApplyOperation operation) {
        this.operation = operation;
    }
 
    /**   所属隐患id  belongid   **/
    public Long getBelongid() {
        return belongid;
    }
 
    /**   所属隐患id  belongid   **/
    public void setBelongid(Long belongid) {
        this.belongid = belongid;
    }
 
    /**   源文件名  originalfilename   **/
    public String getOriginalfilename() {
        return originalfilename;
    }
 
    /**   源文件名  originalfilename   **/
    public void setOriginalfilename(String originalfilename) {
        this.originalfilename = originalfilename == null ? null : originalfilename.trim();
    }
 
    /**   文件名  filename   **/
    public String getFilename() {
        return filename;
    }
 
    /**   文件名  filename   **/
    public void setFilename(String filename) {
        this.filename = filename == null ? null : filename.trim();
    }
 
    /**   文件类型  type   **/
    public String getType() {
        return type;
    }
 
    /**   文件类型  type   **/
    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }
 
    /**   相对路径地址  url   **/
    public String getUrl() {
        return url;
    }
 
    /**   相对路径地址  url   **/
    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }
 
    /**   创建时间  createtime   **/
    public Date getCreatetime() {
        return createtime;
    }
 
    /**   创建时间  createtime   **/
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
 
    public Boolean getValidflag() {
        return validflag;
    }
 
    public void setValidflag(Boolean validflag) {
        this.validflag = validflag;
    }
 
    public Integer getSort() {
        return sort;
    }
 
    public void setSort(Integer sort) {
        this.sort = sort;
    }
 
    public SourceType getSource() {
        return source;
    }
 
    public void setSource(SourceType source) {
        this.source = source;
    }
}