Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.cart.v2;import java.math.BigDecimal;public class CartWarning {private Integer lineId;private Integer productId;private WarningType type;private String message;private BigDecimal oldPrice;private BigDecimal newPrice;private Integer oldQty;private Integer newQty;public CartWarning() {}public CartWarning(WarningType type, Integer lineId, String message) {this.type = type;this.lineId = lineId;this.message = message;}public Integer getLineId() { return lineId; }public void setLineId(Integer lineId) { this.lineId = lineId; }public Integer getProductId() { return productId; }public void setProductId(Integer productId) { this.productId = productId; }public WarningType getType() { return type; }public void setType(WarningType type) { this.type = type; }public String getMessage() { return message; }public void setMessage(String message) { this.message = message; }public BigDecimal getOldPrice() { return oldPrice; }public void setOldPrice(BigDecimal oldPrice) { this.oldPrice = oldPrice; }public BigDecimal getNewPrice() { return newPrice; }public void setNewPrice(BigDecimal newPrice) { this.newPrice = newPrice; }public Integer getOldQty() { return oldQty; }public void setOldQty(Integer oldQty) { this.oldQty = oldQty; }public Integer getNewQty() { return newQty; }public void setNewQty(Integer newQty) { this.newQty = newQty; }}