📄 order.java
字号:
package bean;
/**
* This bean represents a order.
*
* @author ProjectGroup
* @version 1.0.0
*/
public class Order {
private String ordernum;
private String customernum;
private String mailaddress;
private String shippingdate;
private String placeddate;
private String shippingstyle;
private float totalcost;
private String creditcartnum;
/**
* @param ordernum
* @param customernum
* @param mailaddress
* @param shippingdate
* @param placeddate
* @param shippingstyle
* @param totalcost
* @param creditcartnum
*/
public Order(String ordernum, String customernum, String mailaddress, String shippingdate, String placeddate, String shippingstyle, float totalcost, String creditcartnum) {
this.ordernum = ordernum;
this.customernum = customernum;
this.mailaddress = mailaddress;
this.shippingdate = shippingdate;
this.placeddate = placeddate;
this.shippingstyle = shippingstyle;
this.totalcost = totalcost;
this.creditcartnum = creditcartnum;
}
/**
* @return the creditcartnum
*/
public String getCreditcartnum() {
return creditcartnum;
}
/**
* @param creditcartnum the creditcartnum to set
*/
public void setCreditcartnum(String creditcartnum) {
this.creditcartnum = creditcartnum;
}
/**
* @return the customernum
*/
public String getCustomernum() {
return customernum;
}
/**
* @param customernum the customernum to set
*/
public void setCustomernum(String customernum) {
this.customernum = customernum;
}
/**
* @return the mailaddress
*/
public String getMailaddress() {
return mailaddress;
}
/**
* @param mailaddress the mailaddress to set
*/
public void setMailaddress(String mailaddress) {
this.mailaddress = mailaddress;
}
/**
* @return the ordernum
*/
public String getOrdernum() {
return ordernum;
}
/**
* @param ordernum the ordernum to set
*/
public void setOrdernum(String ordernum) {
this.ordernum = ordernum;
}
/**
* @return the placeddate
*/
public String getPlaceddate() {
return placeddate;
}
/**
* @param placeddate the placeddate to set
*/
public void setPlaceddate(String placeddate) {
this.placeddate = placeddate;
}
/**
* @return the shippingdate
*/
public String getShippingdate() {
return shippingdate;
}
/**
* @param shippingdate the shippingdate to set
*/
public void setShippingdate(String shippingdate) {
this.shippingdate = shippingdate;
}
/**
* @return the shippingstyle
*/
public String getShippingstyle() {
return shippingstyle;
}
/**
* @param shippingstyle the shippingstyle to set
*/
public void setShippingstyle(String shippingstyle) {
this.shippingstyle = shippingstyle;
}
/**
* @return the totalcost
*/
public float getTotalcost() {
return totalcost;
}
/**
* @param totalcost the totalcost to set
*/
public void setTotalcost(float totalcost) {
this.totalcost = totalcost;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -