-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPicture.java
More file actions
62 lines (45 loc) · 1.43 KB
/
Picture.java
File metadata and controls
62 lines (45 loc) · 1.43 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
52
53
54
55
56
57
58
59
60
61
62
package org.example.entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Table(name = "tb_picture")
public class Picture {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String pictureaddress;
private String picturedescription;
private String picturename;
private String picturetime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getPictureaddress() {
return pictureaddress;
}
public void setPictureaddress(String pictureaddress) {
this.pictureaddress = pictureaddress == null ? null : pictureaddress.trim();
}
public String getPicturedescription() {
return picturedescription;
}
public void setPicturedescription(String picturedescription) {
this.picturedescription = picturedescription == null ? null : picturedescription.trim();
}
public String getPicturename() {
return picturename;
}
public void setPicturename(String picturename) {
this.picturename = picturename == null ? null : picturename.trim();
}
public String getPicturetime() {
return picturetime;
}
public void setPicturetime(String picturetime) {
this.picturetime = picturetime == null ? null : picturetime.trim();
}
}