Skip to content
Permalink
ba108e7ffc
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 78 lines (59 sloc) 1.14 KB
package cfy.model;
public class Order extends Product{
private int orderId;
private int uid;
private int qunatity;
private String date;
private int p_id;
public Order() {
}
public int getP_id() {
return p_id;
}
public void setP_id(int p_id) {
this.p_id = p_id;
}
public Order(int uid, int qunatity, int p_id) {
super();
this.uid = uid;
this.qunatity = qunatity;
this.p_id = p_id;
}
public Order(int orderId, int uid, int qunatity, String date) {
super();
this.orderId = orderId;
this.uid = uid;
this.qunatity = qunatity;
this.date = date;
}
public Order(int uid, int qunatity, String date) {
super();
this.uid = uid;
this.qunatity = qunatity;
this.date = date;
}
public int getOrderId() {
return orderId;
}
public void setOrderId(int orderId) {
this.orderId = orderId;
}
public int getUid() {
return uid;
}
public void setUid(int uid) {
this.uid = uid;
}
public int getQunatity() {
return qunatity;
}
public void setQunatity(int qunatity) {
this.qunatity = qunatity;
}
public String getDate() {
return date;
}
public void setDate(String date) {
this.date = date;
}
}