Subversion Repositories SmartDukaan

Rev

Rev 25380 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
21545 ashik.ali 1
package com.spice.profitmandi.dao.model;
2
 
3
import in.shop2020.model.v1.catalog.ExclusiveAffiliateItemInfo;
4
 
5
import java.util.List;
6
 
7
import org.json.JSONObject;
8
 
9
public class ContentPojo extends HeaderInfoPojo {
10
 
11
	public ContentPojo(String title, List<String> keySpecs,
12
			List<SpecificationGroup> detailedSpecs, String warranty) {
13
		super();
14
		super.setTitle(title);
15
		this.keySpecs = keySpecs;
16
		this.detailedSpecs = detailedSpecs;
17
		this.warranty = warranty;
18
	}
19
 
20
	public ContentPojo(Long id) {
21
		this.id = id;
22
	}
23
	//Content
24
	private Long id;
25
	private String introduction;
26
	public String getIntroduction() {
27
		return introduction;
28
	}
29
 
30
	public void setIntroduction(String introduction) {
31
		this.introduction = introduction;
32
	}
33
	private String url;
34
	private List<String> keySpecs;
35
	private List<SpecificationGroup> detailedSpecs;
36
	private List<ExpertReviewPojo> expertReviews;
37
	private String warranty;
38
	private String pinCode;
39
	private String name;
40
	private String categoryName;
41
	private String categoryUrl;
42
	private String breadCrumb;
43
	private List<ExclusiveAffiliateItemInfo> exclusiveAffiliateInfo;
44
	private JSONObject dtrAffiliateJSON;
45
 
46
	//To be set at runtime
47
	private List<ProductPojo> reocmmendedAccessories;
48
	public String getDefaultImageUrl() {
49
		return defaultImageUrl;
50
	}
51
 
52
	public void setDefaultImageUrl(String defaultImageUrl) {
53
		this.defaultImageUrl = defaultImageUrl;
54
	}
55
 
56
	public String getIconImageUrl() {
57
		return iconImageUrl;
58
	}
59
 
60
	public void setIconImageUrl(String iconImageUrl) {
61
		this.iconImageUrl = iconImageUrl;
62
	}
63
 
64
	private String defaultImageUrl;
65
	private String iconImageUrl;
66
	private String thumbnailImageUrl;
67
	private List<MediaPojo> images;
68
	private List<MediaPojo> videos;
69
	private List<String> packageContents;
70
 
71
	private String offerText;
72
	//private EmiPojo bankEmis;
73
 
74
	public List<String> getKeySpecs() {
75
		return keySpecs;
76
	}
77
	public void setKeySpecs(List<String> keySpecs) {
78
		this.keySpecs = keySpecs;
79
	}
80
	public List<SpecificationGroup> getDetailedSpecs() {
81
		return detailedSpecs;
82
	}
83
	public void setDetailedSpecs(List<SpecificationGroup> detailedSpecs) {
84
		this.detailedSpecs = detailedSpecs;
85
	}
86
	public String getWarranty() {
87
		return warranty;
88
	}
89
	public void setWarranty(String warranty) {
90
		this.warranty = warranty;
91
	}
92
	public List<MediaPojo> getImages() {
93
		return images;
94
	}
95
	public void setImages(List<MediaPojo> images) {
96
		this.images = images;
97
	}
98
	public void setId(Long id) {
99
		this.id = id;
100
	}
101
	public Long getId() {
102
		return id;
103
	}
104
 
105
	public String getOfferText() {
106
		return offerText;
107
	}
108
	public void setOfferText(String offerText) {
109
		this.offerText = offerText;
110
	}
111
 
112
	public void setPackageContents(List<String> packageContents) {
113
		this.packageContents = packageContents;
114
	}
115
	public List<String> getPackageContents() {
116
		return packageContents;
117
	}
118
 
119
	public String getThumbnailImageUrl() {
120
		return thumbnailImageUrl;
121
	}
122
 
123
	public void setThumbnailImageUrl(String thumbnailImageUrl) {
124
		this.thumbnailImageUrl = thumbnailImageUrl;
125
	}
126
 
127
	public void setVideos(List<MediaPojo> videos) {
128
		this.videos = videos;
129
	}
130
 
131
	public List<MediaPojo> getVideos() {
132
		return videos;
133
	}
134
 
135
	public void setExpertReviews(List<ExpertReviewPojo> expertReviews) {
136
		this.expertReviews = expertReviews;
137
	}
138
 
139
	public List<ExpertReviewPojo> getExpertReviews() {
140
		return expertReviews;
141
	}
142
 
143
	public void setUrl(String url) {
144
		this.url = url;
145
	}
146
 
147
	public String getUrl() {
148
		return url;
149
	}
150
 
151
	public void setReocmmendedAccessories(List<ProductPojo> reocmmendedAccessories) {
152
		this.reocmmendedAccessories = reocmmendedAccessories;
153
	}
154
 
155
	public List<ProductPojo> getReocmmendedAccessories() {
156
		return reocmmendedAccessories;
157
	}
158
 
159
	public void setPinCode(String pinCode) {
160
		this.pinCode = pinCode;
161
	}
162
 
163
	public String getPinCode() {
164
		return pinCode;
165
	}
166
 
167
	public void setCategoryName(String categoryName) {
168
		this.categoryName = categoryName;
169
	}
170
 
171
	public String getCategoryName() {
172
		return categoryName;
173
	}
174
 
175
	public void setCategoryUrl(String categoryUrl) {
176
		this.categoryUrl = categoryUrl;
177
	}
178
 
179
	public String getCategoryUrl() {
180
		return categoryUrl;
181
	}
182
 
183
	public void setBreadCrumb(String breadCrumb) {
184
		this.breadCrumb = breadCrumb;
185
	}
186
 
187
	public String getBreadCrumb() {
188
		return breadCrumb;
189
	}
190
 
191
	public void setName(String name) {
192
		this.name = name;
193
	}
194
 
195
	public String getName() {
196
		return name;
197
	}
198
 
199
	public void setExclusiveAffiliateInfo(List<ExclusiveAffiliateItemInfo> exclusiveAffiliateInfo) {
200
		this.exclusiveAffiliateInfo = exclusiveAffiliateInfo;
201
	}
202
 
203
	public List<ExclusiveAffiliateItemInfo> getExclusiveAffiliateInfo() {
204
		return exclusiveAffiliateInfo;
205
	}
206
 
207
	public void setDtrAffiliateJSON(JSONObject dtrAffiliateJSON) {
208
		this.dtrAffiliateJSON = dtrAffiliateJSON;
209
	}
210
 
211
	public JSONObject getDtrAffiliateJSON() {
212
		return dtrAffiliateJSON;
213
	}
214
}