📄 order.java
字号:
package com.ghy.data.order;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
import com.ghy.data.customer.Customer;
public class Order implements Serializable
{
private String id ;
private String order_time ;
private int totalPrice ;
private String userName;
private Customer customer ;
public Order() {
super();
// TODO Auto-generated constructor stub
}
/**
* @return the totalPrice
*/
public int getTotalPrice() {
return totalPrice;
}
/**
* @param totalPrice the totalPrice to set
*/
public void setTotalPrice(int totalPrice) {
this.totalPrice = totalPrice;
}
/**
* @return the id
*/
public String getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(String id) {
this.id = id;
}
/**
* @return the order_time
*/
public String getOrder_time() {
return order_time;
}
/**
* @param order_time the order_time to set
*/
public void setOrder_time(String order_time) {
this.order_time = order_time;
}
/**
* @return the totalprice
*/
public Customer getCustomer() {
return customer;
}
/**
* @param customer the customer to set
*/
public void setCustomer(Customer customer) {
this.customer = customer;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -