Permalink
Cannot retrieve contributors at this time
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?
7051CEM_Web_Applications_and_AI/src/cfy/model/Order.java
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
78 lines (59 sloc)
1.14 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
} | |
} |