Compare commits
No commits in common. 'model' and 'src' have entirely different histories.
@ -1,52 +0,0 @@
|
|||||||
package flowershop.model;
|
|
||||||
|
|
||||||
public class Flower {
|
|
||||||
|
|
||||||
private String productid;
|
|
||||||
private String name;
|
|
||||||
private String category;
|
|
||||||
private String image;
|
|
||||||
private String descn;
|
|
||||||
private double price;
|
|
||||||
|
|
||||||
|
|
||||||
public String getProductid() {
|
|
||||||
return productid;
|
|
||||||
}
|
|
||||||
public void setProductid(String productid) {
|
|
||||||
this.productid = productid;
|
|
||||||
}
|
|
||||||
public String getName() {
|
|
||||||
return name;
|
|
||||||
}
|
|
||||||
public void setName(String name) {
|
|
||||||
this.name = name;
|
|
||||||
}
|
|
||||||
public String getImage() {
|
|
||||||
return image;
|
|
||||||
}
|
|
||||||
public void setImage(String image) {
|
|
||||||
this.image = image;
|
|
||||||
}
|
|
||||||
public String getDescn() {
|
|
||||||
return descn;
|
|
||||||
}
|
|
||||||
public void setDescn(String descn) {
|
|
||||||
this.descn = descn;
|
|
||||||
}
|
|
||||||
public double getPrice() {
|
|
||||||
return price;
|
|
||||||
}
|
|
||||||
public void setPrice(double price) {
|
|
||||||
this.price = price;
|
|
||||||
}
|
|
||||||
public String getCategory() {
|
|
||||||
return category;
|
|
||||||
}
|
|
||||||
public void setCategory(String category) {
|
|
||||||
this.category = category;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,49 +0,0 @@
|
|||||||
package flowershop.model;
|
|
||||||
|
|
||||||
import java.util.Date;
|
|
||||||
|
|
||||||
public class Order {
|
|
||||||
|
|
||||||
|
|
||||||
private long orderid;
|
|
||||||
private String userid;
|
|
||||||
private Date orderdate;
|
|
||||||
private int status;
|
|
||||||
private double amount;
|
|
||||||
|
|
||||||
|
|
||||||
public long getOrderid() {
|
|
||||||
return orderid;
|
|
||||||
}
|
|
||||||
public void setOrderid(long orderid) {
|
|
||||||
this.orderid = orderid;
|
|
||||||
}
|
|
||||||
public String getUserid() {
|
|
||||||
return userid;
|
|
||||||
}
|
|
||||||
public void setUserid(String userid) {
|
|
||||||
this.userid = userid;
|
|
||||||
}
|
|
||||||
public Date getOrderdate() {
|
|
||||||
return orderdate;
|
|
||||||
}
|
|
||||||
public void setOrderdate(Date orderdate) {
|
|
||||||
this.orderdate = orderdate;
|
|
||||||
}
|
|
||||||
public int getStatus() {
|
|
||||||
return status;
|
|
||||||
}
|
|
||||||
public void setStatus(int status) {
|
|
||||||
this.status = status;
|
|
||||||
}
|
|
||||||
public double getAmount() {
|
|
||||||
return amount;
|
|
||||||
}
|
|
||||||
public void setAmount(double amount) {
|
|
||||||
this.amount = amount;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,35 +0,0 @@
|
|||||||
package flowershop.model;
|
|
||||||
|
|
||||||
public class OrderDetail {
|
|
||||||
|
|
||||||
private long orderid;
|
|
||||||
private String productid;
|
|
||||||
private int quantity;
|
|
||||||
private double price;
|
|
||||||
|
|
||||||
public long getOrderid() {
|
|
||||||
return orderid;
|
|
||||||
}
|
|
||||||
public void setOrderid(long orderid) {
|
|
||||||
this.orderid = orderid;
|
|
||||||
}
|
|
||||||
public String getProductid() {
|
|
||||||
return productid;
|
|
||||||
}
|
|
||||||
public void setProductid(String productid) {
|
|
||||||
this.productid = productid;
|
|
||||||
}
|
|
||||||
public int getQuantity() {
|
|
||||||
return quantity;
|
|
||||||
}
|
|
||||||
public void setQuantity(int quantity) {
|
|
||||||
this.quantity = quantity;
|
|
||||||
}
|
|
||||||
public double getPrice() {
|
|
||||||
return price;
|
|
||||||
}
|
|
||||||
public void setPrice(double price) {
|
|
||||||
this.price = price;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,49 +0,0 @@
|
|||||||
package flowershop.model;
|
|
||||||
|
|
||||||
public class User {
|
|
||||||
|
|
||||||
private String userid;
|
|
||||||
private String username;
|
|
||||||
private String password;
|
|
||||||
private String phone;
|
|
||||||
private String address;
|
|
||||||
|
|
||||||
|
|
||||||
public String getUserid() {
|
|
||||||
return userid;
|
|
||||||
}
|
|
||||||
public void setUserid(String userid) {
|
|
||||||
this.userid = userid;
|
|
||||||
}
|
|
||||||
public String getUsername() {
|
|
||||||
return username;
|
|
||||||
}
|
|
||||||
public void setUsername(String username) {
|
|
||||||
this.username = username;
|
|
||||||
}
|
|
||||||
public String getPassword() {
|
|
||||||
return password;
|
|
||||||
}
|
|
||||||
public void setPassword(String password) {
|
|
||||||
this.password = password;
|
|
||||||
}
|
|
||||||
public String getPhone() {
|
|
||||||
return phone;
|
|
||||||
}
|
|
||||||
public void setPhone(String phone) {
|
|
||||||
this.phone = phone;
|
|
||||||
}
|
|
||||||
public String getAddress() {
|
|
||||||
return address;
|
|
||||||
}
|
|
||||||
public void setAddress(String address) {
|
|
||||||
this.address = address;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
Loading…
Reference in new issue