Subversion Repositories SmartDukaan

Rev

Rev 26674 | Rev 26694 | 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
 
3
import java.time.LocalDateTime;
4
import java.util.List;
5
 
26674 tejbeer 6
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
26588 tejbeer 7
import com.spice.profitmandi.dao.enumuration.catalog.ItemCriteriaType;
8
 
9
public class CreateOfferRequest {
10
 
11
	private String name;
12
	private String description;
13
	private ItemCriteriaType itemCriteria;
14
	private List<AmountMarginModel> amountOffer;
15
	private List<Integer> fofoIds;
16
	private List<Integer> catalogIds;
17
	private List<String> brands;
18
	private String amountType;
19
	private String targetType;
26674 tejbeer 20
	private String criteria;
21
	private PartnerType partnerType;
26588 tejbeer 22
	private LocalDateTime startDate;
23
	private LocalDateTime endDate;
24
	private int price;
25
	private double totalSale;
26
	private double shortAmount;
26675 tejbeer 27
	private double margin;
26588 tejbeer 28
 
26674 tejbeer 29
	public String getCriteria() {
30
		return criteria;
31
	}
32
 
33
	public void setCriteria(String criteria) {
34
		this.criteria = criteria;
35
	}
36
 
37
	public PartnerType getPartnerType() {
38
		return partnerType;
39
	}
40
 
41
	public void setPartnerType(PartnerType partnerType) {
42
		this.partnerType = partnerType;
43
	}
44
 
45
	public void setItemCriteria(ItemCriteriaType itemCriteria) {
46
		this.itemCriteria = itemCriteria;
47
	}
48
 
26588 tejbeer 49
	public double getShortAmount() {
50
		return shortAmount;
51
	}
52
 
53
	public void setShortAmount(double shortAmount) {
54
		this.shortAmount = shortAmount;
55
	}
56
 
57
	public double getTotalSale() {
58
		return totalSale;
59
	}
60
 
61
	public void setTotalSale(double totalSale) {
62
		this.totalSale = totalSale;
63
	}
64
 
26675 tejbeer 65
	public double getMargin() {
26588 tejbeer 66
		return margin;
67
	}
68
 
26675 tejbeer 69
	public void setMargin(double margin) {
26588 tejbeer 70
		this.margin = margin;
71
	}
72
 
73
	public int getPrice() {
74
		return price;
75
	}
76
 
77
	public void setPrice(int price) {
78
		this.price = price;
79
	}
80
 
81
	public List<Integer> getCatalogIds() {
82
		return catalogIds;
83
	}
84
 
85
	public void setCatalogIds(List<Integer> catalogIds) {
86
		this.catalogIds = catalogIds;
87
	}
88
 
89
	public String getName() {
90
		return name;
91
	}
92
 
93
	public void setName(String name) {
94
		this.name = name;
95
	}
96
 
97
	public String getDescription() {
98
		return description;
99
	}
100
 
101
	public void setDescription(String description) {
102
		this.description = description;
103
	}
104
 
105
	public ItemCriteriaType getItemCriteria() {
106
		return itemCriteria;
107
	}
108
 
109
	public void setItemCreteria(ItemCriteriaType itemCreteria) {
110
		this.itemCriteria = itemCreteria;
111
	}
112
 
113
	public List<AmountMarginModel> getAmountOffer() {
114
		return amountOffer;
115
	}
116
 
117
	public void setAmountOffer(List<AmountMarginModel> amountOffer) {
118
		this.amountOffer = amountOffer;
119
	}
120
 
121
	public List<Integer> getFofoIds() {
122
		return fofoIds;
123
	}
124
 
125
	public void setFofoIds(List<Integer> fofoIds) {
126
		this.fofoIds = fofoIds;
127
	}
128
 
129
	public List<String> getBrands() {
130
		return brands;
131
	}
132
 
133
	public void setBrands(List<String> brands) {
134
		this.brands = brands;
135
	}
136
 
137
	public String getAmountType() {
138
		return amountType;
139
	}
140
 
141
	public void setAmountType(String amountType) {
142
		this.amountType = amountType;
143
	}
144
 
145
	public String getTargetType() {
146
		return targetType;
147
	}
148
 
149
	public void setTargetType(String targetType) {
150
		this.targetType = targetType;
151
	}
152
 
153
	public LocalDateTime getStartDate() {
154
		return startDate;
155
	}
156
 
157
	public void setStartDate(LocalDateTime startDate) {
158
		this.startDate = startDate;
159
	}
160
 
161
	public LocalDateTime getEndDate() {
162
		return endDate;
163
	}
164
 
165
	public void setEndDate(LocalDateTime endDate) {
166
		this.endDate = endDate;
167
	}
168
 
169
}