Subversion Repositories SmartDukaan

Rev

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