Subversion Repositories SmartDukaan

Rev

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

Rev 27353 Rev 27360
Line 7... Line 7...
7
import com.spice.profitmandi.dao.entity.catalog.Offermargin;
7
import com.spice.profitmandi.dao.entity.catalog.Offermargin;
8
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
8
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
9
import com.spice.profitmandi.dao.enumuration.catalog.ItemCriteriaType;
9
import com.spice.profitmandi.dao.enumuration.catalog.ItemCriteriaType;
10
 
10
 
11
public class CreateOfferRequest {
11
public class CreateOfferRequest {
-
 
12
	private int id;
-
 
13
 
-
 
14
	public int getId() {
-
 
15
		return id;
-
 
16
	}
-
 
17
 
-
 
18
	public void setId(int id) {
-
 
19
		this.id = id;
-
 
20
	}
12
 
21
 
13
	private String name;
22
	private String name;
14
	private String description;
23
	private String description;
15
	private ItemCriteriaType itemCriteria;
24
	private ItemCriteriaType itemCriteria;
16
	private List<AmountMarginModel> amountOffer;
25
	private List<AmountMarginModel> amountOffer;
Line 37... Line 46...
37
		return startDateTime;
46
		return startDateTime;
38
	}
47
	}
39
 
48
 
40
	@Override
49
	@Override
41
	public String toString() {
50
	public String toString() {
42
		return "CreateOfferRequest [name=" + name + ", description=" + description + ", itemCriteria=" + itemCriteria
51
		return "CreateOfferRequest [id=" + id + ", name=" + name + ", description=" + description + ", itemCriteria="
43
				+ ", amountOffer=" + amountOffer + ", fofoIds=" + fofoIds + ", catalogIds=" + catalogIds + ", brands="
52
				+ itemCriteria + ", amountOffer=" + amountOffer + ", fofoIds=" + fofoIds + ", catalogIds=" + catalogIds
44
				+ brands + ", amountType=" + amountType + ", targetType=" + targetType + ", criteria=" + criteria
53
				+ ", brands=" + brands + ", amountType=" + amountType + ", targetType=" + targetType + ", criteria="
45
				+ ", partnerType=" + partnerType + ", startDate=" + startDate + ", endDate=" + endDate + ", price="
54
				+ criteria + ", partnerType=" + partnerType + ", startDate=" + startDate + ", endDate=" + endDate
46
				+ price + ", totalSale=" + totalSale + ", shortAmount=" + shortAmount + ", margin=" + margin
55
				+ ", price=" + price + ", totalSale=" + totalSale + ", shortAmount=" + shortAmount + ", margin="
47
				+ ", value=" + value + ", schemeType=" + schemeType + ", startDateTime=" + startDateTime
56
				+ margin + ", value=" + value + ", schemeType=" + schemeType + ", startDateTime=" + startDateTime
48
				+ ", endDateTime=" + endDateTime + ", offerMargin=" + offerMargin + "]";
57
				+ ", endDateTime=" + endDateTime + ", offerMargin=" + offerMargin + "]";
49
	}
58
	}
50
 
59
 
51
	public List<Offermargin> getOfferMargin() {
60
	public List<Offermargin> getOfferMargin() {
52
		return offerMargin;
61
		return offerMargin;