add pet and product images
This commit is contained in:
@@ -11,6 +11,7 @@ public class PetResponse {
|
||||
private Integer petAge;
|
||||
private String petStatus;
|
||||
private BigDecimal petPrice;
|
||||
private String imageUrl;
|
||||
private LocalDateTime createdAt;
|
||||
private LocalDateTime updatedAt;
|
||||
|
||||
@@ -73,6 +74,14 @@ public class PetResponse {
|
||||
this.petPrice = petPrice;
|
||||
}
|
||||
|
||||
public String getImageUrl() {
|
||||
return imageUrl;
|
||||
}
|
||||
|
||||
public void setImageUrl(String imageUrl) {
|
||||
this.imageUrl = imageUrl;
|
||||
}
|
||||
|
||||
public LocalDateTime getCreatedAt() {
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ public class ProductResponse {
|
||||
private String categoryName;
|
||||
private BigDecimal prodPrice;
|
||||
private String prodDesc;
|
||||
private String imageUrl;
|
||||
|
||||
public ProductResponse() {
|
||||
}
|
||||
@@ -51,4 +52,12 @@ public class ProductResponse {
|
||||
public void setProdDesc(String prodDesc) {
|
||||
this.prodDesc = prodDesc;
|
||||
}
|
||||
|
||||
public String getImageUrl() {
|
||||
return imageUrl;
|
||||
}
|
||||
|
||||
public void setImageUrl(String imageUrl) {
|
||||
this.imageUrl = imageUrl;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user