add order service and view for list
liquibase view not add
This commit is contained in:
@ -4,11 +4,14 @@ public class OrderCreatedEvent {
|
||||
private final Long orderId;
|
||||
private final String orderName;
|
||||
private final String description;
|
||||
private final Long userId;
|
||||
|
||||
public OrderCreatedEvent(Long orderId, String orderName, String description) {
|
||||
//todo change to annotation getter setter
|
||||
public OrderCreatedEvent(Long orderId, String orderName, String description, Long userId) {
|
||||
this.orderId = orderId;
|
||||
this.orderName = orderName;
|
||||
this.description = description;
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Long getOrderId() {
|
||||
@ -22,4 +25,8 @@ public class OrderCreatedEvent {
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public Long getUserId() {
|
||||
return userId;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user