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.
32 lines
580 B
32 lines
580 B
package com.example.PersonalCenter;
|
|
|
|
public class Image {
|
|
private final int id;
|
|
private final String name;
|
|
private final String price;
|
|
private final int image;
|
|
|
|
public Image(int id, String name, String price, int image) {
|
|
this.id = id;
|
|
this.name = name;
|
|
this.price = price;
|
|
this.image = image;
|
|
}
|
|
|
|
public int getId() {
|
|
return id;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public String getPrice() {
|
|
return price;
|
|
}
|
|
|
|
public int getImage() {
|
|
return image;
|
|
}
|
|
}
|