Files
microservice-b/src/main/java/com/example/mmad/testapp/event/OrderCreatedEvent.java
esmailian 2e1c4e4b70 add order service and view for list
liquibase view not add
2025-04-29 17:08:22 +03:30

33 lines
762 B
Java

package com.example.mmad.testapp.event;
public class OrderCreatedEvent {
private final Long orderId;
private final String orderName;
private final String description;
private final Long userId;
//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() {
return orderId;
}
public String getOrderName() {
return orderName;
}
public String getDescription() {
return description;
}
public Long getUserId() {
return userId;
}
}