Subversion Repositories SmartDukaan

Rev

Rev 21545 | Rev 27583 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21545 Rev 25380
Line 1... Line 1...
1
package com.spice.profitmandi.dao.model;
1
package com.spice.profitmandi.dao.model;
2
 
2
 
3
import in.shop2020.model.v1.catalog.ExclusiveAffiliateItemInfo;
-
 
4
 
-
 
5
import java.util.List;
3
import java.util.List;
6
 
4
 
7
import org.json.JSONObject;
-
 
8
 
-
 
9
public class ContentPojo extends HeaderInfoPojo {
5
public class ContentPojo extends HeaderInfoPojo {
10
	
6
 
11
	public ContentPojo(String title, List<String> keySpecs,
-
 
12
			List<SpecificationGroup> detailedSpecs, String warranty) {
7
	public ContentPojo(String title, List<String> keySpecs, List<SpecificationGroup> detailedSpecs, String warranty) {
13
		super();
8
		super();
14
		super.setTitle(title);
9
		super.setTitle(title);
15
		this.keySpecs = keySpecs;
10
		this.keySpecs = keySpecs;
16
		this.detailedSpecs = detailedSpecs;
11
		this.detailedSpecs = detailedSpecs;
17
		this.warranty = warranty;
12
		this.warranty = warranty;
18
	}
13
	}
19
	
14
 
20
	public ContentPojo(Long id) {
15
	public ContentPojo(Long id) {
21
		this.id = id;
16
		this.id = id;
22
	}
17
	}
-
 
18
 
23
	//Content
19
	// Content
24
	private Long id;
20
	private Long id;
25
	private String introduction;
21
	private String introduction;
-
 
22
 
26
	public String getIntroduction() {
23
	public String getIntroduction() {
27
		return introduction;
24
		return introduction;
28
	}
25
	}
29
 
26
 
30
	public void setIntroduction(String introduction) {
27
	public void setIntroduction(String introduction) {
31
		this.introduction = introduction;
28
		this.introduction = introduction;
32
	}
29
	}
-
 
30
 
33
	private String url;
31
	private String url;
34
	private List<String> keySpecs;
32
	private List<String> keySpecs;
35
	private List<SpecificationGroup> detailedSpecs;
33
	private List<SpecificationGroup> detailedSpecs;
36
	private List<ExpertReviewPojo> expertReviews;
-
 
37
	private String warranty;
34
	private String warranty;
38
	private String pinCode;
-
 
39
	private String name;
35
	private String name;
40
	private String categoryName;
36
	private String categoryName;
41
	private String categoryUrl;
37
	private String categoryUrl;
42
	private String breadCrumb;
38
	private String breadCrumb;
43
	private List<ExclusiveAffiliateItemInfo> exclusiveAffiliateInfo;
-
 
44
	private JSONObject dtrAffiliateJSON;
-
 
45
	
39
 
46
	//To be set at runtime
40
	// To be set at runtime
47
	private List<ProductPojo> reocmmendedAccessories;
41
	private List<ProductPojo> reocmmendedAccessories;
-
 
42
 
48
	public String getDefaultImageUrl() {
43
	public String getDefaultImageUrl() {
49
		return defaultImageUrl;
44
		return defaultImageUrl;
50
	}
45
	}
51
 
46
 
52
	public void setDefaultImageUrl(String defaultImageUrl) {
47
	public void setDefaultImageUrl(String defaultImageUrl) {
Line 63... Line 58...
63
 
58
 
64
	private String defaultImageUrl;
59
	private String defaultImageUrl;
65
	private String iconImageUrl;
60
	private String iconImageUrl;
66
	private String thumbnailImageUrl;
61
	private String thumbnailImageUrl;
67
	private List<MediaPojo> images;
62
	private List<MediaPojo> images;
68
	private List<MediaPojo> videos;
-
 
69
	private List<String> packageContents;
63
	private List<String> packageContents;
70
	
64
 
71
	private String offerText;
65
	private String offerText;
72
	//private EmiPojo bankEmis;
66
	// private EmiPojo bankEmis;
73
	
67
 
74
	public List<String> getKeySpecs() {
68
	public List<String> getKeySpecs() {
75
		return keySpecs;
69
		return keySpecs;
76
	}
70
	}
-
 
71
 
77
	public void setKeySpecs(List<String> keySpecs) {
72
	public void setKeySpecs(List<String> keySpecs) {
78
		this.keySpecs = keySpecs;
73
		this.keySpecs = keySpecs;
79
	}
74
	}
-
 
75
 
80
	public List<SpecificationGroup> getDetailedSpecs() {
76
	public List<SpecificationGroup> getDetailedSpecs() {
81
		return detailedSpecs;
77
		return detailedSpecs;
82
	}
78
	}
-
 
79
 
83
	public void setDetailedSpecs(List<SpecificationGroup> detailedSpecs) {
80
	public void setDetailedSpecs(List<SpecificationGroup> detailedSpecs) {
84
		this.detailedSpecs = detailedSpecs;
81
		this.detailedSpecs = detailedSpecs;
85
	}
82
	}
-
 
83
 
86
	public String getWarranty() {
84
	public String getWarranty() {
87
		return warranty;
85
		return warranty;
88
	}
86
	}
-
 
87
 
89
	public void setWarranty(String warranty) {
88
	public void setWarranty(String warranty) {
90
		this.warranty = warranty;
89
		this.warranty = warranty;
91
	}
90
	}
-
 
91
 
92
	public List<MediaPojo> getImages() {
92
	public List<MediaPojo> getImages() {
93
		return images;
93
		return images;
94
	}
94
	}
-
 
95
 
95
	public void setImages(List<MediaPojo> images) {
96
	public void setImages(List<MediaPojo> images) {
96
		this.images = images;
97
		this.images = images;
97
	}
98
	}
-
 
99
 
98
	public void setId(Long id) {
100
	public void setId(Long id) {
99
		this.id = id;
101
		this.id = id;
100
	}
102
	}
-
 
103
 
101
	public Long getId() {
104
	public Long getId() {
102
		return id;
105
		return id;
103
	}
106
	}
104
	
107
 
105
	public String getOfferText() {
108
	public String getOfferText() {
106
		return offerText;
109
		return offerText;
107
	}
110
	}
-
 
111
 
108
	public void setOfferText(String offerText) {
112
	public void setOfferText(String offerText) {
109
		this.offerText = offerText;
113
		this.offerText = offerText;
110
	}
114
	}
111
	
115
 
112
	public void setPackageContents(List<String> packageContents) {
116
	public void setPackageContents(List<String> packageContents) {
113
		this.packageContents = packageContents;
117
		this.packageContents = packageContents;
114
	}
118
	}
-
 
119
 
115
	public List<String> getPackageContents() {
120
	public List<String> getPackageContents() {
116
		return packageContents;
121
		return packageContents;
117
	}
122
	}
118
	
123
 
119
	public String getThumbnailImageUrl() {
124
	public String getThumbnailImageUrl() {
120
		return thumbnailImageUrl;
125
		return thumbnailImageUrl;
121
	}
126
	}
122
	
127
 
123
	public void setThumbnailImageUrl(String thumbnailImageUrl) {
128
	public void setThumbnailImageUrl(String thumbnailImageUrl) {
124
		this.thumbnailImageUrl = thumbnailImageUrl;
129
		this.thumbnailImageUrl = thumbnailImageUrl;
125
	}
130
	}
126
 
131
 
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) {
132
	public void setUrl(String url) {
144
		this.url = url;
133
		this.url = url;
145
	}
134
	}
146
 
135
 
147
	public String getUrl() {
136
	public String getUrl() {
Line 154... Line 143...
154
 
143
 
155
	public List<ProductPojo> getReocmmendedAccessories() {
144
	public List<ProductPojo> getReocmmendedAccessories() {
156
		return reocmmendedAccessories;
145
		return reocmmendedAccessories;
157
	}
146
	}
158
 
147
 
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) {
148
	public void setCategoryName(String categoryName) {
168
		this.categoryName = categoryName;
149
		this.categoryName = categoryName;
169
	}
150
	}
170
 
151
 
171
	public String getCategoryName() {
152
	public String getCategoryName() {
Line 193... Line 174...
193
	}
174
	}
194
 
175
 
195
	public String getName() {
176
	public String getName() {
196
		return name;
177
		return name;
197
	}
178
	}
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
}
179
}