/**
* This code was auto-generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
*/
package com.mozu.api.contracts.commerceruntime.products;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.joda.time.DateTime;
import java.io.IOException;
import java.lang.ClassNotFoundException;
import com.mozu.api.contracts.commerceruntime.products.Category;
/**
* The category associated with assigned products. Products, product bundles, and options can be classified to multiple categories.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Category implements Serializable
{
// Default Serial Version UID
private static final long serialVersionUID = 1L;
/**
* Unique identifier of the source product property. For a product field it will be the name of the field. For a product attribute it will be the Attribute FQN.
*/
protected Integer id;
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
/**
* If applicable, the parent category in the category tree. This can be associated to a product as the parent category.
*/
protected Category parent;
public Category getParent() {
return this.parent;
}
public void setParent(Category parent) {
this.parent = parent;
}
}