Subversion Repositories SmartDukaan

Rev

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

Rev 6777 Rev 6813
Line 1... Line 1...
1
package in.shop2020.catalog.dashboard.shared;
1
package in.shop2020.catalog.dashboard.shared;
2
 
2
 
-
 
3
import in.shop2020.model.v1.inventory.ItemStockPurchaseParams;
-
 
4
 
3
import java.io.Serializable;
5
import java.io.Serializable;
4
import java.util.List;
6
import java.util.List;
5
import java.util.Map;
7
import java.util.Map;
6
 
8
 
7
import com.google.gwt.user.client.rpc.IsSerializable;
9
import com.google.gwt.user.client.rpc.IsSerializable;
Line 40... Line 42...
40
    private String bestDealsText;
42
    private String bestDealsText;
41
    private String bestDealsDetailsText;
43
    private String bestDealsDetailsText;
42
    private String bestDealsDetailsLink;
44
    private String bestDealsDetailsLink;
43
    private Double bestDealsValue;
45
    private Double bestDealsValue;
44
    private Long bestSellingRank;
46
    private Long bestSellingRank;
-
 
47
    private Integer numOfDaysStock;
-
 
48
    private Long minStockLevel;
45
    private boolean defaultForEntity, risky, warehouseStickiness, hasItemNo, itemType, clearance, showSellingPrice;
49
    private boolean defaultForEntity, risky, warehouseStickiness, hasItemNo, itemType, clearance, showSellingPrice;
46
    public boolean isShowSellingPrice() {
50
    public boolean isShowSellingPrice() {
47
		return showSellingPrice;
51
		return showSellingPrice;
48
	}
52
	}
49
 
53
 
Line 86... Line 90...
86
            boolean warehouseStickiness, boolean hasItemNo, boolean itemType, boolean clearance, boolean showSellingPrice,
90
            boolean warehouseStickiness, boolean hasItemNo, boolean itemType, boolean clearance, boolean showSellingPrice,
87
            Long prefferedVendor,
91
            Long prefferedVendor,
88
            Map<Long, ItemInventory> itemInventory,
92
            Map<Long, ItemInventory> itemInventory,
89
            Map<Long,VendorPricings> vendorPricesMap, 
93
            Map<Long,VendorPricings> vendorPricesMap, 
90
            Map<String, VendorItemMapping> vendorKeysMap, 
94
            Map<String, VendorItemMapping> vendorKeysMap, 
91
            Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems, Map<String, VoucherItemMapping> vouchersMap) {
95
            Map<Long, SourcePricings> sourcePricesMap, Map<Long, Item> similarItems, Map<String, VoucherItemMapping> vouchersMap,
-
 
96
            Integer numOfDaysStock, Long minStockLevel) {
92
        this();
97
        this();
93
        this.id = id;
98
        this.id = id;
94
        this.productGroup = productGroup;
99
        this.productGroup = productGroup;
95
        this.brand = brand;
100
        this.brand = brand;
96
        this.modelNumber = modelNumber;
101
        this.modelNumber = modelNumber;
Line 134... Line 139...
134
        this.vendorPricesMap = vendorPricesMap;
139
        this.vendorPricesMap = vendorPricesMap;
135
        this.vendorKeysMap = vendorKeysMap;
140
        this.vendorKeysMap = vendorKeysMap;
136
        this.sourcePricesMap = sourcePricesMap;
141
        this.sourcePricesMap = sourcePricesMap;
137
        this.similarItems = similarItems;
142
        this.similarItems = similarItems;
138
        this.vouchersMap = vouchersMap;
143
        this.vouchersMap = vouchersMap;
-
 
144
        this.numOfDaysStock = numOfDaysStock;
-
 
145
        this.minStockLevel = minStockLevel;
139
    }
146
    }
140
 
147
 
141
    public long getId() {
148
    public long getId() {
142
        return id;
149
        return id;
143
    }
150
    }
Line 474... Line 481...
474
 
481
 
475
	public Map<String, VoucherItemMapping> getVouchersMap() {
482
	public Map<String, VoucherItemMapping> getVouchersMap() {
476
		return vouchersMap;
483
		return vouchersMap;
477
	}
484
	}
478
 
485
 
-
 
486
	public Integer getNumOfDaysStock() {
-
 
487
		return numOfDaysStock;
-
 
488
	}
-
 
489
 
-
 
490
	public void setNumOfDaysStock(Integer numOfDaysStock) {
-
 
491
		this.numOfDaysStock = numOfDaysStock;
-
 
492
	}
-
 
493
 
-
 
494
	public Long getMinStockLevel() {
-
 
495
		return minStockLevel;
-
 
496
	}
-
 
497
 
-
 
498
	public void setMinStockLevel(Long minStockLevel) {
-
 
499
		this.minStockLevel = minStockLevel;
-
 
500
	}
-
 
501
 
479
	public void setBestDealsDetailsText(String bestDealsDetailsText) {
502
	public void setBestDealsDetailsText(String bestDealsDetailsText) {
480
		this.bestDealsDetailsText = bestDealsDetailsText;
503
		this.bestDealsDetailsText = bestDealsDetailsText;
481
	}
504
	}
482
 
505
 
483
	public String getBestDealsDetailsText() {
506
	public String getBestDealsDetailsText() {