Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
26588 tejbeer 1
package com.spice.profitmandi.dao.model;
2
 
26694 tejbeer 3
import java.time.LocalDate;
26588 tejbeer 4
import java.time.LocalDateTime;
5
import java.util.List;
6
 
27353 tejbeer 7
import com.spice.profitmandi.dao.entity.catalog.Offermargin;
26674 tejbeer 8
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
26588 tejbeer 9
import com.spice.profitmandi.dao.enumuration.catalog.ItemCriteriaType;
10
 
11
public class CreateOfferRequest {
27360 tejbeer 12
	private int id;
26588 tejbeer 13
 
27360 tejbeer 14
	public int getId() {
15
		return id;
16
	}
17
 
18
	public void setId(int id) {
19
		this.id = id;
20
	}
21
 
26588 tejbeer 22
	private String name;
23
	private String description;
24
	private ItemCriteriaType itemCriteria;
25
	private List<AmountMarginModel> amountOffer;
26
	private List<Integer> fofoIds;
27
	private List<Integer> catalogIds;
28
	private List<String> brands;
29
	private String amountType;
30
	private String targetType;
26674 tejbeer 31
	private String criteria;
32
	private PartnerType partnerType;
26588 tejbeer 33
	private LocalDateTime startDate;
34
	private LocalDateTime endDate;
35
	private int price;
36
	private double totalSale;
37
	private double shortAmount;
26675 tejbeer 38
	private double margin;
26694 tejbeer 39
	private int value;
40
	private String schemeType;
41
	private LocalDate startDateTime;
42
	private LocalDate endDateTime;
27353 tejbeer 43
	private List<Offermargin> offerMargin;
26588 tejbeer 44
 
26694 tejbeer 45
	public LocalDate getStartDateTime() {
46
		return startDateTime;
47
	}
48
 
27353 tejbeer 49
	@Override
50
	public String toString() {
27360 tejbeer 51
		return "CreateOfferRequest [id=" + id + ", name=" + name + ", description=" + description + ", itemCriteria="
52
				+ itemCriteria + ", amountOffer=" + amountOffer + ", fofoIds=" + fofoIds + ", catalogIds=" + catalogIds
53
				+ ", brands=" + brands + ", amountType=" + amountType + ", targetType=" + targetType + ", criteria="
54
				+ criteria + ", partnerType=" + partnerType + ", startDate=" + startDate + ", endDate=" + endDate
55
				+ ", price=" + price + ", totalSale=" + totalSale + ", shortAmount=" + shortAmount + ", margin="
56
				+ margin + ", value=" + value + ", schemeType=" + schemeType + ", startDateTime=" + startDateTime
27353 tejbeer 57
				+ ", endDateTime=" + endDateTime + ", offerMargin=" + offerMargin + "]";
58
	}
59
 
60
	public List<Offermargin> getOfferMargin() {
61
		return offerMargin;
62
	}
63
 
64
	public void setOfferMargin(List<Offermargin> offerMargin) {
65
		this.offerMargin = offerMargin;
66
	}
67
 
26694 tejbeer 68
	public void setStartDateTime(LocalDate startDateTime) {
69
		this.startDateTime = startDateTime;
70
	}
71
 
72
	public LocalDate getEndDateTime() {
73
		return endDateTime;
74
	}
75
 
76
	public void setEndDateTime(LocalDate endDateTime) {
77
		this.endDateTime = endDateTime;
78
	}
79
 
80
	public int getValue() {
81
		return value;
82
	}
83
 
84
	public void setValue(int value) {
85
		this.value = value;
86
	}
87
 
88
	public String getSchemeType() {
89
		return schemeType;
90
	}
91
 
92
	public void setSchemeType(String schemeType) {
93
		this.schemeType = schemeType;
94
	}
95
 
26674 tejbeer 96
	public String getCriteria() {
97
		return criteria;
98
	}
99
 
100
	public void setCriteria(String criteria) {
101
		this.criteria = criteria;
102
	}
103
 
104
	public PartnerType getPartnerType() {
105
		return partnerType;
106
	}
107
 
108
	public void setPartnerType(PartnerType partnerType) {
109
		this.partnerType = partnerType;
110
	}
111
 
112
	public void setItemCriteria(ItemCriteriaType itemCriteria) {
113
		this.itemCriteria = itemCriteria;
114
	}
115
 
26588 tejbeer 116
	public double getShortAmount() {
117
		return shortAmount;
118
	}
119
 
120
	public void setShortAmount(double shortAmount) {
121
		this.shortAmount = shortAmount;
122
	}
123
 
124
	public double getTotalSale() {
125
		return totalSale;
126
	}
127
 
128
	public void setTotalSale(double totalSale) {
129
		this.totalSale = totalSale;
130
	}
131
 
26675 tejbeer 132
	public double getMargin() {
26588 tejbeer 133
		return margin;
134
	}
135
 
26675 tejbeer 136
	public void setMargin(double margin) {
26588 tejbeer 137
		this.margin = margin;
138
	}
139
 
140
	public int getPrice() {
141
		return price;
142
	}
143
 
144
	public void setPrice(int price) {
145
		this.price = price;
146
	}
147
 
148
	public List<Integer> getCatalogIds() {
149
		return catalogIds;
150
	}
151
 
152
	public void setCatalogIds(List<Integer> catalogIds) {
153
		this.catalogIds = catalogIds;
154
	}
155
 
156
	public String getName() {
157
		return name;
158
	}
159
 
160
	public void setName(String name) {
161
		this.name = name;
162
	}
163
 
164
	public String getDescription() {
165
		return description;
166
	}
167
 
168
	public void setDescription(String description) {
169
		this.description = description;
170
	}
171
 
172
	public ItemCriteriaType getItemCriteria() {
173
		return itemCriteria;
174
	}
175
 
176
	public void setItemCreteria(ItemCriteriaType itemCreteria) {
177
		this.itemCriteria = itemCreteria;
178
	}
179
 
180
	public List<AmountMarginModel> getAmountOffer() {
181
		return amountOffer;
182
	}
183
 
184
	public void setAmountOffer(List<AmountMarginModel> amountOffer) {
185
		this.amountOffer = amountOffer;
186
	}
187
 
188
	public List<Integer> getFofoIds() {
189
		return fofoIds;
190
	}
191
 
192
	public void setFofoIds(List<Integer> fofoIds) {
193
		this.fofoIds = fofoIds;
194
	}
195
 
196
	public List<String> getBrands() {
197
		return brands;
198
	}
199
 
200
	public void setBrands(List<String> brands) {
201
		this.brands = brands;
202
	}
203
 
204
	public String getAmountType() {
205
		return amountType;
206
	}
207
 
208
	public void setAmountType(String amountType) {
209
		this.amountType = amountType;
210
	}
211
 
212
	public String getTargetType() {
213
		return targetType;
214
	}
215
 
216
	public void setTargetType(String targetType) {
217
		this.targetType = targetType;
218
	}
219
 
220
	public LocalDateTime getStartDate() {
221
		return startDate;
222
	}
223
 
224
	public void setStartDate(LocalDateTime startDate) {
225
		this.startDate = startDate;
226
	}
227
 
228
	public LocalDateTime getEndDate() {
229
		return endDate;
230
	}
231
 
232
	public void setEndDate(LocalDateTime endDate) {
233
		this.endDate = endDate;
234
	}
235
 
236
}