-
Notifications
You must be signed in to change notification settings - Fork 0
/
Catalog.java
95 lines (79 loc) · 1.68 KB
/
Catalog.java
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
package com.example.demo.entity;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
public class Catalog {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int c_id;
private int event_id;
private int lot_id;
private int start_bid;
private int seller_id;
private int bidder_id;
private String descc;
private String name;
private String image;
//private boolean isSold=false;
public Catalog() {
super();
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getImage() {
return image;
}
public void setImage(String image) {
this.image = image;
}
public int getEvent_id() {
return event_id;
}
public void setEvent_id(int event_id) {
this.event_id = event_id;
}
public String getDesc() {
return descc;
}
public void setDesc(String desc) {
this.descc = desc;
}
public int getLot_id() {
return lot_id;
}
public void setLot_id(int lot_id) {
this.lot_id = lot_id;
}
public int getStart_bid() {
return start_bid;
}
public void setStart_bid(int start_bid) {
this.start_bid = start_bid;
}
public int getSeller_id() {
return seller_id;
}
public void setSeller_id(int seller_id) {
this.seller_id = seller_id;
}
public int getBidder_id() {
return bidder_id;
}
public void setBidder_id(int bidder_id) {
this.bidder_id = bidder_id;
}
// public boolean isSold() {
// return isSold;
// }
// public void setSold(boolean isSold) {
// this.isSold = isSold;
// }
//
}