Subversion Repositories SmartDukaan

Rev

Rev 20424 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
20424 kshitij.so 1
package com.hotspotstore.model;
2
 
3
import java.util.ArrayList;
4
 
5
public class EntityShort{
6
 
7
	private long entityId;
8
	private String thumbnail;
9
	private String title;
10
	private ArrayList<String> keySpecs;
11
 
12
	public ArrayList<String> getKeySpecs() {
13
		return keySpecs;
14
	}
15
 
16
	public void setKeySpecs(ArrayList<String> keySpecs) {
17
		this.keySpecs = keySpecs;
18
	}
19
 
20
	private String url;
21
 
22
	public long getEntityId() {
23
		return entityId;
24
	}
25
 
26
	public void setEntityId(long entityId) {
27
		this.entityId = entityId;
28
	}
29
 
30
	public String getThumbnail() {
31
		return thumbnail;
32
	}
33
 
34
	public void setThumbnail(String thumbnail) {
20702 kshitij.so 35
		//Height Fixed to 100
36
		this.thumbnail = "http://staging.profittill.com/app/webroot/timthumb.php?src="+thumbnail+"&h=150&q=100";
20424 kshitij.so 37
	}
38
 
39
	public String getTitle() {
40
		return title;
41
	}
42
 
43
	public void setTitle(String title) {
44
		this.title = title;
45
	}
46
 
47
	public String getUrl() {
48
		return url;
49
	}
50
 
51
	public void setUrl(String url) {
52
		this.url = url;
53
	}
54
 
55
}