Update.java
1.15 KB
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
package com.PFE.ServerManager;
import javax.persistence.*;
@Entity
@Table(name = "update")
public class Update {
@Id
@Column(name = "updateId", columnDefinition = "serial")
@GeneratedValue(strategy = GenerationType.AUTO)
private Integer updateId;
@Column(name = "update")
private String update;
@Column(name = "date")
private String date;
@Column(name = "file")
private String file;
@Column(name = "nodes")
private String nodes;
public void setUpdateId(Integer updateId) { this.updateId = updateId; }
public Integer getUpdateId() { return updateId; }
public void setUpdate(String update) {
this.update = update;
}
public String getUpdate() { return update; }
public void setDate(String date) {
this.date = date;
}
public String getDate() {
return date;
}
public void setNodes(String nodes) {
this.nodes = nodes;
}
public String getNodes() {
return nodes;
}
public void setFile(String file) {
this.file = file;
}
public String getFile() { return file; }
}