forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproduct.java
More file actions
84 lines (82 loc) · 1.68 KB
/
product.java
File metadata and controls
84 lines (82 loc) · 1.68 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
package electric.dbs;
import java.sql.*;
import javax.servlet.http.*;
import electric.*;
import electric.electricUtils.*;
/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2005</p>
* <p>Company: </p>
* @author not attributable
* @version 1.0
*/
public class product
{
private int Id;
private String Productname;
private String Productprice;
private String Productform;
private String Productnote;
private String Pic;
private int Status;
public product()
{}
public int getId() {
return this.Id;
}
public String getProductname()
{
return this.Productname;
}
public String getProductprice()
{
return this.Productprice;
}
public String getProductform()
{
return this.Productform;
}
public String getProductnote()
{
return this.Productnote;
}
public String getPic()
{
return this.Pic;
}
public int getStatus()
{
return this.Status;
}
//////////////////////WRITE METHODS/////////////////////////////
/////////////////////////////////////////////////////////////////
public void setId(int Id) {
this.Id=Id;
}
public void setProductname(String Productname)
{
this.Productname=Productname;
}
public void setProductprice(String Productprice)
{
this.Productprice=Productprice;
}
public void setProductform(String Productform)
{
this.Productform=Productform;
}
public void setProductnote(String Productnote)
{
this.Productnote=Productnote;
}
public void setPic(String Pic)
{
this.Pic=Pic;
}
public void setStatus(int Status)
{
this.Status=Status;
}
////////////////////////////////////////////////////////////////////////////////
}