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.
31 lines
489 B
31 lines
489 B
package com.example.test.entity;
|
|
|
|
public class fruitKind {
|
|
private String name;
|
|
private int img;
|
|
|
|
public fruitKind() {
|
|
}
|
|
|
|
public fruitKind(String name, int img) {
|
|
this.name = name;
|
|
this.img = img;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public int getImg() {
|
|
return img;
|
|
}
|
|
|
|
public void setImg(int img) {
|
|
this.img = img;
|
|
}
|
|
}
|