Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.model;

/**
 * One category-governed spec value on a catalog content doc, e.g.
 * {key:"ram", label:"RAM", value:"8GB"}. All fields String — ContentPojo
 * must never carry Long fields (legacy Mongo driver/Gson gotcha).
 */
public class CategorySpecPojo {

    private String key;
    private String label;
    private String value;

    public CategorySpecPojo() {
    }

    public CategorySpecPojo(String key, String label, String value) {
        this.key = key;
        this.label = label;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}