第三章 总体设计 }
return typeName;
public void setTypeName(String typeName) { this.typeName = typeName;
}
}
8. User 会员信息实体类
package com.zdl.shopping.po; /**
* 描述用户的JavaBean */
public class User { private int id; private String name; private String password; private String email; private String trueName; private String sex; private String birthday; private String address; private String postcode; private String phone; private String mphone; private String question; private String answer; private String img; private int score;
public String getAddress() {
return address;
31
第三章 总体设计 }
public void setAddress(String address) { this.address = address;
}
public String getAnswer() { return answer;
}
public void setAnswer(String answer) { this.answer = answer; }
public String getBirthday() { return birthday; }
public void setBirthday(String birthday) { this.birthday = birthday; }
public String getEmail() { return email;
}
public void setEmail(String email) { this.email = email; }
public String getMphone() { return mphone; }
public void setMphone(String mphone) { this.mphone = mphone; }
public String getPhone() {
return phone;
32
第三章 总体设计 }
public void setPhone(String phone) { this.phone = phone;
}
public String getPostcode() { return postcode; }
public void setPostcode(String postcode) { this.postcode = postcode; }
public String getQuestion() { return question;
}
public void setQuestion(String question) { this.question = question; }
public String getSex() { return sex;
}
public void setSex(String sex) { this.sex = sex; }
public String getTrueName() { return trueName; }
public void setTrueName(String trueName) { this.trueName = trueName; }
public int getId() {
return id;
33
第三章 总体设计 }
public void setId(int id) { this.id = id;
}
public String getName() { return name; }
public void setName(String name) { this.name = name; }
public String getPassword() { return password; }
public void setPassword(String password) { this.password = password; }
public String getImg() { return img;
}
public void setImg(String img) { this.img = img; }
public int getScore() { return score; }
public void setScore(int score) { this.score = score; }
}
9. OrderItem 订单详细信息实体类
34
第三章 总体设计 package com.zdl.shopping.po; public class OrderItem { private int orderItemId; private int orderId; private int bookId; private String bookName; private float price; private int bookNum; public int getBookId() { return bookId;
}
public void setBookId(int bookId) { this.bookId = bookId; }
public String getBookName() { return bookName; }
public void setBookName(String bookName) { this.bookName = bookName; }
public int getBookNum() { return bookNum;
}
public void setBookNum(int bookNum) { this.bookNum = bookNum; }
public int getOrderId() { return orderId;
}
public void setOrderId(int orderId) {
35
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库毕业论文 - 张东龙 - 打印版(修改)(8)在线全文阅读。
相关推荐: