userID 부분 추가
This commit is contained in:
@@ -13,6 +13,7 @@ public class OrderPlaced extends AbstractEvent{
|
||||
private String productName;
|
||||
private int quantity;
|
||||
private int price;
|
||||
private String customerId;
|
||||
private String customerName;
|
||||
private String customerAddr;
|
||||
|
||||
@@ -70,6 +71,14 @@ public class OrderPlaced extends AbstractEvent{
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public String getCustomerId() {
|
||||
return customerId;
|
||||
}
|
||||
|
||||
public void setCustomerId(String customerId) {
|
||||
this.customerId = customerId;
|
||||
}
|
||||
|
||||
public String getCustomerName() {
|
||||
return customerName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user