forked from bitcocom/JavaTPC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMovieVO.java
More file actions
51 lines (51 loc) · 1.07 KB
/
Copy pathMovieVO.java
File metadata and controls
51 lines (51 loc) · 1.07 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 kr.tpc;
public class MovieVO {
private String title;
private int price;
private String author;
private int level;
private float time;
public MovieVO() { }
public MovieVO(String title, int price, String author, int level, float time) {
this.title = title;
this.price = price;
this.author = author;
this.level = level;
this.time = time;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public int getPrice() {
return price;
}
public void setPrice(int price) {
this.price = price;
}
public String getAuthor() {
return author;
}
public void setAuthor(String author) {
this.author = author;
}
public int getLevel() {
return level;
}
public void setLevel(int level) {
this.level = level;
}
public float getTime() {
return time;
}
public void setTime(float time) {
this.time = time;
}
@Override
public String toString() {
return "MovieVO [title=" + title + ", price=" + price + ", author=" + author + ", level=" + level + ", time=" + time
+ "]";
}
}