OrderDetails.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:1k
源码类别:
Java编程
开发平台:
Java
- package day21ex.order;
- public class OrderDetails implements java.io.Serializable {
- private String orderId;
- private String studentId;
- private java.sql.Timestamp orderDate;
- private double amount;
- private String status;
- public OrderDetails(String orderId, String studentId,
- java.sql.Timestamp orderDate, double amount, String status) {
- this.orderId = orderId;
- this.studentId = studentId;
- this.orderDate = orderDate;
- this.amount = amount;
- this.status = status;
- }
- public String getOrderId() {
- return orderId ;
- }
- public String getStudentId() {
- return studentId;
- }
- public java.sql.Timestamp getOrderDate() {
- return orderDate;
- }
- public double getAmount() {
- return amount;
- }
- public String getStatus() {
- return status;
- }
- }