You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
964 B
43 lines
964 B
package com.example.test1;
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
public class Product {
|
|
|
|
public String getProductName() {
|
|
return productName;
|
|
}
|
|
|
|
public void setProductName(String productName) {
|
|
this.productName = productName;
|
|
}
|
|
|
|
public BigDecimal getProductPrice() {
|
|
return productPrice;
|
|
}
|
|
|
|
public void setProductPrice(BigDecimal productPrice) {
|
|
this.productPrice = productPrice;
|
|
}
|
|
|
|
public Integer getImageUrlId() {
|
|
return imageUrlId;
|
|
}
|
|
|
|
public void setImageUrlId(Integer imageUrlId) {
|
|
this.imageUrlId = imageUrlId;
|
|
}
|
|
|
|
private Integer imageUrlId;
|
|
private String productName;
|
|
private BigDecimal productPrice;
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "Product{" +
|
|
"imageUrlId=" + imageUrlId +
|
|
", productName='" + productName + '\'' +
|
|
", productPrice=" + productPrice +
|
|
'}';
|
|
}
|
|
} |