📄 product.java
字号:
package electric.dbs;
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()
{
}
//定义get方法
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;
}
//定义set方法
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;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -