diff --git a/active-record/src/main/java/com/iluwatar/activerecord/Customer.java b/active-record/src/main/java/com/iluwatar/activerecord/Customer.java index afe08b22600a..cdabef4cbff7 100644 --- a/active-record/src/main/java/com/iluwatar/activerecord/Customer.java +++ b/active-record/src/main/java/com/iluwatar/activerecord/Customer.java @@ -12,26 +12,26 @@ @EqualsAndHashCode(onlyExplicitlyIncluded = true) public class Customer { - private Long id; - private String customerNumber; - private String firstName; - private String lastName; - private List orders; + private Long id; + private String customerNumber; + private String firstName; + private String lastName; + private List orders; - public Customer findById(Long id) { - return new Customer(); - } + public Customer findById(Long id) { + return new Customer(); + } - public Customer findByNumber(String customerNumber) { - return new Customer(); - } + public Customer findByNumber(String customerNumber) { + return new Customer(); + } - public List findAll() { - return List.of(); - } + public List findAll() { + return List.of(); + } - public void save(Customer customer) { + public void save(Customer customer) { - } + } } diff --git a/active-record/src/main/java/com/iluwatar/activerecord/Order.java b/active-record/src/main/java/com/iluwatar/activerecord/Order.java index b149c240af8f..8de6371cb3c1 100644 --- a/active-record/src/main/java/com/iluwatar/activerecord/Order.java +++ b/active-record/src/main/java/com/iluwatar/activerecord/Order.java @@ -13,6 +13,6 @@ @AllArgsConstructor public class Order { - private Long id; - private String orderNumber; + private Long id; + private String orderNumber; }