Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.model;import java.util.Objects;public class HidAllocationModel {int fofoId;int catalogId;String modelNumber;String brand;int availableStock;int last2DaysSoldQtySum;int lastThirdDaySoldQty;int hidAllocation;int purchaseLimit;public HidAllocationModel(int fofoId, int catalogId, String modelNumber, String brand, int availableStock, int last2DaysSoldQtySum, int lastThirdDaySoldQty, int hidAllocation, int purchaseLimit) {this.fofoId = fofoId;this.catalogId = catalogId;this.modelNumber = modelNumber;this.brand = brand;this.availableStock = availableStock;this.last2DaysSoldQtySum = last2DaysSoldQtySum;this.lastThirdDaySoldQty = lastThirdDaySoldQty;this.hidAllocation = hidAllocation;this.purchaseLimit = purchaseLimit;}public int getFofoId() {return fofoId;}public void setFofoId(int fofoId) {this.fofoId = fofoId;}public int getCatalogId() {return catalogId;}public void setCatalogId(int catalogId) {this.catalogId = catalogId;}public String getModelNumber() {return modelNumber;}public void setModelNumber(String modelNumber) {this.modelNumber = modelNumber;}public String getBrand() {return brand;}public void setBrand(String brand) {this.brand = brand;}public int getAvailableStock() {return availableStock;}public void setAvailableStock(int availableStock) {this.availableStock = availableStock;}public int getLast2DaysSoldQtySum() {return last2DaysSoldQtySum;}public void setLast2DaysSoldQtySum(int last2DaysSoldQtySum) {this.last2DaysSoldQtySum = last2DaysSoldQtySum;}public int getLastThirdDaySoldQty() {return lastThirdDaySoldQty;}public void setLastThirdDaySoldQty(int lastThirdDaySoldQty) {this.lastThirdDaySoldQty = lastThirdDaySoldQty;}public int getHidAllocation() {return hidAllocation;}public void setHidAllocation(int hidAllocation) {this.hidAllocation = hidAllocation;}public int getPurchaseLimit() {return purchaseLimit;}public void setPurchaseLimit(int purchaseLimit) {this.purchaseLimit = purchaseLimit;}@Overridepublic String toString() {return "HidAllocationModel{" +"fofoId=" + fofoId +", catalogId=" + catalogId +", modelNumber='" + modelNumber + '\'' +", brand='" + brand + '\'' +", availableStock=" + availableStock +", last2DaysSoldQtySum=" + last2DaysSoldQtySum +", lastThirdDaySoldQty=" + lastThirdDaySoldQty +", hidAllocation=" + hidAllocation +", purchaseLimit=" + purchaseLimit +'}';}@Overridepublic boolean equals(Object o) {if (this == o) return true;if (o == null || getClass() != o.getClass()) return false;HidAllocationModel that = (HidAllocationModel) o;return fofoId == that.fofoId && catalogId == that.catalogId && availableStock == that.availableStock && last2DaysSoldQtySum == that.last2DaysSoldQtySum && lastThirdDaySoldQty == that.lastThirdDaySoldQty && hidAllocation == that.hidAllocation && purchaseLimit == that.purchaseLimit && Objects.equals(modelNumber, that.modelNumber) && Objects.equals(brand, that.brand);}@Overridepublic int hashCode() {return Objects.hash(fofoId, catalogId, modelNumber, brand, availableStock, last2DaysSoldQtySum, lastThirdDaySoldQty, hidAllocation, purchaseLimit);}}