Subversion Repositories SmartDukaan

Rev

Rev 3498 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3487 rajveer 1
 
2
package in.shop2020.model;
3
 
4
import java.io.Serializable;
5
 
6
import javax.jdo.annotations.IdGeneratorStrategy;
7
import javax.jdo.annotations.IdentityType;
8
import javax.jdo.annotations.PersistenceCapable;
9
import javax.jdo.annotations.Persistent;
10
import javax.jdo.annotations.PrimaryKey;
11
 
12
@PersistenceCapable(identityType = IdentityType.APPLICATION)
13
public class ComparisonStats implements Serializable {
14
 
15
    private static final long serialVersionUID = 1L;
16
 
17
    @PrimaryKey
18
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
3498 rajveer 19
    private String id;
3487 rajveer 20
 
21
    @Persistent
3504 rajveer 22
    private String comparisonStatsJSON;
3487 rajveer 23
 
3498 rajveer 24
	public void setId(String id) {
3487 rajveer 25
		this.id = id;
26
	}
27
 
3498 rajveer 28
	public String getId() {
3487 rajveer 29
		return id;
30
	}
3504 rajveer 31
 
32
	public void setComparisonStatsJSON(String comparisonStatsJSON) {
33
		this.comparisonStatsJSON = comparisonStatsJSON;
3487 rajveer 34
	}
35
 
3504 rajveer 36
	public String getComparisonStatsJSON() {
37
		return comparisonStatsJSON;
3487 rajveer 38
	}
3504 rajveer 39
 
3487 rajveer 40
}