Subversion Repositories SmartDukaan

Rev

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

Rev 26694 Rev 27353
Line 2... Line 2...
2
 
2
 
3
import java.time.LocalDate;
3
import java.time.LocalDate;
4
import java.time.LocalDateTime;
4
import java.time.LocalDateTime;
5
import java.util.List;
5
import java.util.List;
6
 
6
 
-
 
7
import com.spice.profitmandi.dao.entity.catalog.Offermargin;
7
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
8
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
8
import com.spice.profitmandi.dao.enumuration.catalog.ItemCriteriaType;
9
import com.spice.profitmandi.dao.enumuration.catalog.ItemCriteriaType;
9
 
10
 
10
public class CreateOfferRequest {
11
public class CreateOfferRequest {
11
 
12
 
Line 28... Line 29...
28
	private double margin;
29
	private double margin;
29
	private int value;
30
	private int value;
30
	private String schemeType;
31
	private String schemeType;
31
	private LocalDate startDateTime;
32
	private LocalDate startDateTime;
32
	private LocalDate endDateTime;
33
	private LocalDate endDateTime;
-
 
34
	private List<Offermargin> offerMargin;
33
 
35
 
34
	public LocalDate getStartDateTime() {
36
	public LocalDate getStartDateTime() {
35
		return startDateTime;
37
		return startDateTime;
36
	}
38
	}
37
 
39
 
-
 
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
 
38
	public void setStartDateTime(LocalDate startDateTime) {
59
	public void setStartDateTime(LocalDate startDateTime) {
39
		this.startDateTime = startDateTime;
60
		this.startDateTime = startDateTime;
40
	}
61
	}
41
 
62
 
42
	public LocalDate getEndDateTime() {
63
	public LocalDate getEndDateTime() {