diff --git a/src/main/java/com/otaviojava/demos/ddd/Product.java b/src/main/java/com/otaviojava/demos/ddd/Product.java index c618520..819eb7a 100644 --- a/src/main/java/com/otaviojava/demos/ddd/Product.java +++ b/src/main/java/com/otaviojava/demos/ddd/Product.java @@ -88,4 +88,8 @@ public String toString() { ", categories=" + categories + '}'; } + + public static ProductBuilder builder() { + return new ProductBuilder(); + } }