| 36376 |
aman |
1 |
package com.spice.profitmandi.dao.cart.v2;
|
|
|
2 |
|
|
|
3 |
import java.math.BigDecimal;
|
|
|
4 |
|
|
|
5 |
public class CartWarning {
|
|
|
6 |
|
|
|
7 |
private Integer lineId;
|
|
|
8 |
private Integer productId;
|
|
|
9 |
private WarningType type;
|
|
|
10 |
private String message;
|
|
|
11 |
private BigDecimal oldPrice;
|
|
|
12 |
private BigDecimal newPrice;
|
|
|
13 |
private Integer oldQty;
|
|
|
14 |
private Integer newQty;
|
|
|
15 |
|
|
|
16 |
public CartWarning() {}
|
|
|
17 |
|
|
|
18 |
public CartWarning(WarningType type, Integer lineId, String message) {
|
|
|
19 |
this.type = type;
|
|
|
20 |
this.lineId = lineId;
|
|
|
21 |
this.message = message;
|
|
|
22 |
}
|
|
|
23 |
|
|
|
24 |
public Integer getLineId() { return lineId; }
|
|
|
25 |
public void setLineId(Integer lineId) { this.lineId = lineId; }
|
|
|
26 |
|
|
|
27 |
public Integer getProductId() { return productId; }
|
|
|
28 |
public void setProductId(Integer productId) { this.productId = productId; }
|
|
|
29 |
|
|
|
30 |
public WarningType getType() { return type; }
|
|
|
31 |
public void setType(WarningType type) { this.type = type; }
|
|
|
32 |
|
|
|
33 |
public String getMessage() { return message; }
|
|
|
34 |
public void setMessage(String message) { this.message = message; }
|
|
|
35 |
|
|
|
36 |
public BigDecimal getOldPrice() { return oldPrice; }
|
|
|
37 |
public void setOldPrice(BigDecimal oldPrice) { this.oldPrice = oldPrice; }
|
|
|
38 |
|
|
|
39 |
public BigDecimal getNewPrice() { return newPrice; }
|
|
|
40 |
public void setNewPrice(BigDecimal newPrice) { this.newPrice = newPrice; }
|
|
|
41 |
|
|
|
42 |
public Integer getOldQty() { return oldQty; }
|
|
|
43 |
public void setOldQty(Integer oldQty) { this.oldQty = oldQty; }
|
|
|
44 |
|
|
|
45 |
public Integer getNewQty() { return newQty; }
|
|
|
46 |
public void setNewQty(Integer newQty) { this.newQty = newQty; }
|
|
|
47 |
}
|