📄 productdto.java
字号:
package db.dto;
public class ProductDTO {
Integer productId;
String name;
String image;
Float price;
String des;
Integer type;
public Integer getProductId() {
return productId;
}
public void setProductId(Integer productId) {
this.productId = productId;
}
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 Float getPrice() {
return price;
}
public void setPrice(Float price) {
this.price = price;
}
public String getDes() {
return des;
}
public void setDes(String des) {
this.des = des;
}
public Integer getType() {
return type;
}
public void setType(Integer type) {
this.type = type;
}
public String toString(){
String s=new String();
s=s
+ "productId:"+this.productId.toString()
+"name:"+this.name.toString()
+"image:"+this.image.toString()
+"price:"+this.price.toString()
+"des:"+this.des.toString()
+"type:"+this.type.toString();
return s;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -