Encapsulation, Abstraction, Programming, Behavior.
Customer customer; private Address shipmentAddress; private Status status; public enum Status{ NEW, APPROVED, CANCELED} } @Service public class InvoiceService { private final InvoiceRepository repository; public Invoice update(Invoice invoice){ return repository.save(invoice); } ...create ...delete