Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
37204 amit 1
package com.spice.profitmandi.dao.model;
2
 
3
/**
4
 * One category-governed spec value on a catalog content doc, e.g.
5
 * {key:"ram", label:"RAM", value:"8GB"}. All fields String — ContentPojo
6
 * must never carry Long fields (legacy Mongo driver/Gson gotcha).
7
 */
8
public class CategorySpecPojo {
9
 
10
    private String key;
11
    private String label;
12
    private String value;
13
 
14
    public CategorySpecPojo() {
15
    }
16
 
17
    public CategorySpecPojo(String key, String label, String value) {
18
        this.key = key;
19
        this.label = label;
20
        this.value = value;
21
    }
22
 
23
    public String getKey() {
24
        return key;
25
    }
26
 
27
    public void setKey(String key) {
28
        this.key = key;
29
    }
30
 
31
    public String getLabel() {
32
        return label;
33
    }
34
 
35
    public void setLabel(String label) {
36
        this.label = label;
37
    }
38
 
39
    public String getValue() {
40
        return value;
41
    }
42
 
43
    public void setValue(String value) {
44
        this.value = value;
45
    }
46
}