// Path: cqrs-lib/src/main/java/se/citerus/cqrs/bookstore/GenericId.java
// public static final String ID_PATTERN =
//     "^(([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12})$";


import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.util.List;
import static se.citerus.cqrs.bookstore.GenericId.ID_PATTERN;
package se.citerus.cqrs.bookstore.ordercontext.api;




public class CartDto {

  @NotEmpty
// Path: cqrs-lib/src/main/java/se/citerus/cqrs/bookstore/GenericId.java
// public static final String ID_PATTERN =
//     "^(([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12})$";


// Path: order-context-parent/order-command/src/main/java/se/citerus/cqrs/bookstore/ordercontext/api/CartDto.java
import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.util.List;
import static se.citerus.cqrs.bookstore.GenericId.ID_PATTERN;

package se.citerus.cqrs.bookstore.ordercontext.api;




public class CartDto {

  @NotEmpty
  @Pattern(regexp = ID_PATTERN)