谁有源码啊
谁有源码啊 求分享 谢谢
谁有源码啊 求分享 谢谢
2016-09-29
package beans;
//买家类
public class Users {
private int UserId;
private String name;
private int age;
private String sex;
private String area;
private String tel;
public int getUserId() {
return UserId;
}
public void setUserId(int userId) {
UserId = userId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public String getArea() {
return area;
}
public void setArea(String area) {
this.area = area;
}
public String getTel() {
return tel;
}
public void setTel(String tel) {
this.tel = tel;
}
}
package beans;
//交易类
public class TradingInf {
private int tradingId; //交易ID
private int tradingGoodsId; //交易商品ID
private int tradingUserId; //交易买家ID
private int tradingNumber; //交易数量
public int getTradingId() {
return tradingId;
}
public void setTradingId(int tradingId) {
this.tradingId = tradingId;
}
public int getTradingGoodsId() {
return tradingGoodsId;
}
public void setTradingGoodsId(int tradingGoodsId) {
this.tradingGoodsId = tradingGoodsId;
}
public int getTradingUserId() {
return tradingUserId;
}
public void setTradingUserId(int tradingUserId) {
this.tradingUserId = tradingUserId;
}
public int getTradingNumber() {
return tradingNumber;
}
public void setTradingNumber(int tradingNumber) {
this.tradingNumber = tradingNumber;
}
}
package beans;
//利润
public class Profit {
private String goodsName;
private int goodsId;
private int costPrice;
private int sellingPrice;
private int tradingNum;
private int times;
private int porfit;
public String getGoodsName() {
return goodsName;
}
public void setGoodsName(String goodsName) {
this.goodsName = goodsName;
}
public int getGoodsId() {
return goodsId;
}
public void setGoodsId(int goodsId) {
this.goodsId = goodsId;
}
public int getCostPrice() {
return costPrice;
}
public void setCostPrice(int costPrice) {
this.costPrice = costPrice;
}
public int getSellingPrice() {
return sellingPrice;
}
public void setSellingPrice(int sellingPrice) {
this.sellingPrice = sellingPrice;
}
public int getTradingNum() {
return tradingNum;
}
public void setTradingNum(int tradingNum) {
this.tradingNum = tradingNum;
}
public int getTimes() {
return times;
}
public void setTimes(int times) {
this.times = times;
}
public int getPorfit() {
return porfit;
}
public void setPorfit(int porfit) {
this.porfit = porfit;
}
}
https://pan.baidu.com/s/1geXjm1t
效果比较简易、昨天做完今天整理下上传了。
举报