package sizebay.catalog.client.model;

import java.util.*;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.*;

@Getter
@Setter
@EqualsAndHashCode
public class Product   {

  private Long id;
  private String name;
  private String description;
	private String permalink;
	private Modeling.Gender gender;
	private Modeling.Gender feedGender;
	private String images;
	private String tenantName;
	private Long tenantId;
	private String feedProductId;
	private Long brandId;
	private String brandName;
	private Long feedBrandId;
	private String feedBrandName;
	private Long categoryId;
	private String categoryName;
	private Long modelingId;
	private String modelingName;
	private Boolean available;
	private String sizeType;
	private Wearability wearability;
	private AgeGroupEnum ageGroup;
	private AgeGroupEnum feedAgeGroup;
  private String observation;
	private Long strongBrandId;
	private String strongBrandName;
	private StrongCategoryType strongCategoryType;
	private Long strongCategoryId;
	private String strongCategoryName;
	private Long strongSubcategoryId;
	private String strongSubcategoryName;
	private Long strongModelId;
	private String strongModelName;
	private Long strongModelingId;
	private String strongModelingName;
	private double weightStyle;
	private SizeSystem sizeSystem;
	private Boolean isShoe;
	private Boolean useStrongModeling;
	private List<String> barcodes;
	private Measure composedMeasure;
	private ComposedMeasureOrder composedMeasureOrder;
	private SizeSystem modelingSizeSystem;
	private boolean sizeTailor;

  private List<String> availableSizes = new ArrayList<>();
  private ImportationError importationError;

  @RequiredArgsConstructor
  public enum AgeGroupEnum {
    ADULT("adult"),
    INFANT("infant"),
    KIDS("kids"),
    NEWBORN("newborn"),
    TODDLER("toddler");

    final private String value;

    @Override
    @JsonValue
    public String toString() {
      return value;
    }
  }

  @Deprecated
  @RequiredArgsConstructor
  public enum Wearability {
    REGULAR("regular"),
    VERYTIGHT("veryTight"),
    TIGHT("tight"),
    SLIGHTLYTIGHT("slightlyTight"),
    VERYLOOSE("veryLoose"),
    LOOSE("loose"),
    SLIGHTLYLOOSE("slightlyLoose");

    final private String value;

    @Override
    @JsonValue
    public String toString() {
      return value;
    }
  }

}


@@ -1615,16 +1615,91 @@
 st%3C%3E();%0A
+  private List%3CSizeWithComposedMeasure%3E availableSizesWithComposedMeasure;%0A
   privat

add new attrivbute in Product (availableSizesWithComposedMeasure)