Initial commit

This commit is contained in:
xixu-me committed 2024-03-17 22:31:48 +08:00
commit 054b77ccdd
27 files changed
+1362

No files matched your search

+35
View File
@@ -0,0 +1,35 @@
public class Good {
private String strName;
private float fPrice;
private int iCount;
public Good(String strName, float fPrice, int iCount) {
this.strName = strName;
this.fPrice = fPrice;
this.iCount = iCount;
}
public String getName() {
return strName;
}
public float getPrice() {
return fPrice;
}
public int getCount() {
return iCount;
}
public void setName(String strName) {
this.strName = strName;
}
public void setPrice(float fPrice) {
this.fPrice = fPrice;
}
public void setCount(int iCount) {
this.iCount = iCount;
}
}