Subversion Repositories SmartDukaan

Rev

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

Rev 26588 Rev 26674
Line 1... Line 1...
1
package com.spice.profitmandi.dao.model;
1
package com.spice.profitmandi.dao.model;
2
 
2
 
3
import java.time.LocalDateTime;
3
import java.time.LocalDateTime;
4
import java.util.List;
4
import java.util.List;
5
 
5
 
-
 
6
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
6
import com.spice.profitmandi.dao.enumuration.catalog.ItemCriteriaType;
7
import com.spice.profitmandi.dao.enumuration.catalog.ItemCriteriaType;
7
 
8
 
8
public class CreateOfferRequest {
9
public class CreateOfferRequest {
9
 
10
 
10
	private String name;
11
	private String name;
Line 14... Line 15...
14
	private List<Integer> fofoIds;
15
	private List<Integer> fofoIds;
15
	private List<Integer> catalogIds;
16
	private List<Integer> catalogIds;
16
	private List<String> brands;
17
	private List<String> brands;
17
	private String amountType;
18
	private String amountType;
18
	private String targetType;
19
	private String targetType;
-
 
20
	private String criteria;
-
 
21
	private PartnerType partnerType;
19
	private LocalDateTime startDate;
22
	private LocalDateTime startDate;
20
	private LocalDateTime endDate;
23
	private LocalDateTime endDate;
21
	private int price;
24
	private int price;
22
	private double totalSale;
25
	private double totalSale;
23
	private double shortAmount;
26
	private double shortAmount;
24
	private int margin;
27
	private int margin;
25
 
28
 
-
 
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
 
26
	public double getShortAmount() {
49
	public double getShortAmount() {
27
		return shortAmount;
50
		return shortAmount;
28
	}
51
	}
29
 
52
 
30
	public void setShortAmount(double shortAmount) {
53
	public void setShortAmount(double shortAmount) {