This commit is contained in:
kimscott
2019-07-29 10:03:58 +09:00
parent c06d48cf31
commit c65c349b06
14 changed files with 1054 additions and 0 deletions

View File

@@ -0,0 +1,93 @@
package com.example.template;
import java.io.Serializable;
public class OrderPlaced implements Serializable {
private String type;
private String stateMessage = "주문이 들어옴";
private Long productId;
private Long orderId;
private String productName;
private int quantity;
private int price;
private String customerName;
private String customerAddr;
public OrderPlaced(){
this.setType(this.getClass().getSimpleName());
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getStateMessage() {
return stateMessage;
}
public void setStateMessage(String stateMessage) {
this.stateMessage = stateMessage;
}
public Long getProductId() {
return productId;
}
public void setProductId(Long productId) {
this.productId = productId;
}
public Long getOrderId() {
return orderId;
}
public void setOrderId(Long orderId) {
this.orderId = orderId;
}
public String getProductName() {
return productName;
}
public void setProductName(String productName) {
this.productName = productName;
}
public int getQuantity() {
return quantity;
}
public void setQuantity(int quantity) {
this.quantity = quantity;
}
public int getPrice() {
return price;
}
public void setPrice(int price) {
this.price = price;
}
public String getCustomerName() {
return customerName;
}
public void setCustomerName(String customerName) {
this.customerName = customerName;
}
public String getCustomerAddr() {
return customerAddr;
}
public void setCustomerAddr(String customerAddr) {
this.customerAddr = customerAddr;
}
}