add order service and view for list

liquibase view not add
This commit is contained in:
esmailian
2025-04-29 17:08:22 +03:30
parent 741fdf666d
commit 2e1c4e4b70
14 changed files with 170 additions and 15 deletions

View File

@ -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;
}
}