package sizebay.catalog.client.model;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Getter
@Setter
@ToString
@NoArgsConstructor
public class ProductIntegration implements Serializable {

	private Long id;
	private String name;
	private char gender;
	private String ageGroup;
	private String permalink;
	private String image;
	private Long tenantId;
	private String feedProductId;
	private String brandName;
	private String categoryName;
	private String modelingName;
	private String sizeType;
	private int availability;
	private Long strongBrandId;
	private String strongBrandName;
	private Long strongTypeId;
	private String strongTypeName;
	private Long strongCategoryId;
	private String strongCategoryName;
	private Long strongSubcategoryId;
	private String strongSubcategoryName;
	private Long strongModelId;
	private String strongModelName;
	private List<String> sizes;
	private List<String> availableSizes;
	private double weightStyle;
	private int isAccessory;
	private int isShoe;

}

@@ -1094,10 +1094,1490 @@
 sShoe;%0A%0A
+%09public ProductBasicInformation castToProductBasicInformation() %7B%0A%09%09ProductBasicInformation basicInfo = new ProductBasicInformation();%0A%0A%09%09basicInfo.setId(this.getId());%0A%09%09basicInfo.setName(this.getName());%0A%09%09basicInfo.setGenderTheWearWasDesignedFor(String.valueOf(this.gender));%0A%09%09basicInfo.setAgeGroup(Product.AgeGroupEnum.valueOf(this.getAgeGroup().toUpperCase()));%0A%09%09basicInfo.setPermalink(this.getPermalink());%0A%09%09basicInfo.setCoverImage(this.getImage());%0A%09%09basicInfo.setTenantId(this.getTenantId());%0A%09%09basicInfo.setFeedProductId(this.getFeedProductId());%0A%09%09basicInfo.setModelingName(this.getModelingName());%0A%09%09basicInfo.setSizeType(this.getSizeType());%0A%09%09basicInfo.setStatus(this.getAvailability() %3E 0);%0A%09%09basicInfo.setStrongBrandId(this.getStrongBrandId());%0A%09%09basicInfo.setStrongBrandName(this.getStrongBrandName());%0A%09%09basicInfo.setStrongTypeId(this.getStrongTypeId());%0A%09%09basicInfo.setStrongTypeName(this.getStrongTypeName());%0A%09%09basicInfo.setStrongCategoryId(this.getStrongCategoryId());%0A%09%09basicInfo.setStrongCategoryName(this.getStrongCategoryName());%0A%09%09basicInfo.setStrongSubcategoryId(this.getStrongSubcategoryId());%0A%09%09basicInfo.setStrongSubcategoryName(this.getStrongSubcategoryName());%0A%09%09basicInfo.setStrongModelId(this.getStrongModelId());%0A%09%09basicInfo.setStrongModelName(this.getStrongModelName());%0A%09%09basicInfo.setWeightStyle(this.getWeightStyle());%0A%09%09basicInfo.setAccessory(this.getIsAccessory() %3E 0);%0A%09%09basicInfo.setIsShoe(this.getIsShoe());%0A%0A%09%09return basicInfo;%0A%09%7D%0A%0A
 %7D%0A

Add method to convert the ProductIntegration class in ProductBasicInformation