Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.service.catalog;import java.time.LocalDateTime;import java.util.Objects;public class ItemLoaderModel {int rowIndex;private String productGroup;private int categoryId;private String category;private String brand;private String modelNumber;private String modelName;private String color;private double mrp;private double sp;private double mop;private double dp;private double tp;private double nlc;private LocalDateTime startDate;private int preferredVendor;private boolean risky;private double weight;private int itemType;private double taxRate;private String hsnCode;public int getCategoryId() {return categoryId;}public void setCategoryId(int categoryId) {this.categoryId = categoryId;}public double getTaxRate() {return taxRate;}public void setTaxRate(double taxRate) {this.taxRate = taxRate;}public String getProductGroup() {return productGroup;}public void setProductGroup(String productGroup) {this.productGroup = productGroup;}public String getCategory() {return category;}public void setCategory(String category) {this.category = category;}public String getBrand() {return brand;}public void setBrand(String brand) {this.brand = brand;}public String getModelNumber() {return modelNumber;}public void setModelNumber(String modelNumber) {this.modelNumber = modelNumber;}public String getModelName() {return modelName;}public void setModelName(String modelName) {this.modelName = modelName;}public String getColor() {return color;}public void setColor(String color) {this.color = color;}public double getMrp() {return mrp;}public void setMrp(double mrp) {this.mrp = mrp;}public double getSp() {return sp;}public void setSp(double sp) {this.sp = sp;}public double getMop() {return mop;}public void setMop(double mop) {this.mop = mop;}public double getDp() {return dp;}public void setDp(double dp) {this.dp = dp;}public double getTp() {return tp;}public void setTp(double tp) {this.tp = tp;}public double getNlc() {return nlc;}public void setNlc(double nlc) {this.nlc = nlc;}public LocalDateTime getStartDate() {return startDate;}public void setStartDate(LocalDateTime startDate) {this.startDate = startDate;}public int getPreferredVendor() {return preferredVendor;}public void setPreferredVendor(int preferredVendor) {this.preferredVendor = preferredVendor;}public boolean isRisky() {return risky;}public void setRisky(boolean risky) {this.risky = risky;}public double getWeight() {return weight;}public void setWeight(double weight) {this.weight = weight;}public int getItemType() {return itemType;}public void setItemType(int itemType) {this.itemType = itemType;}public int getRowIndex() {return rowIndex;}public void setRowIndex(int rowIndex) {this.rowIndex = rowIndex;}public String getHsnCode() {return hsnCode;}public void setHsnCode(String hsnCode) {this.hsnCode = hsnCode;}@Overridepublic boolean equals(Object o) {if (this == o) return true;if (o == null || getClass() != o.getClass()) return false;ItemLoaderModel that = (ItemLoaderModel) o;return rowIndex == that.rowIndex && categoryId == that.categoryId && Double.compare(mrp, that.mrp) == 0 && Double.compare(sp, that.sp) == 0 && Double.compare(mop, that.mop) == 0 && Double.compare(dp, that.dp) == 0 && Double.compare(tp, that.tp) == 0 && Double.compare(nlc, that.nlc) == 0 && preferredVendor == that.preferredVendor && risky == that.risky && Double.compare(weight, that.weight) == 0 && itemType == that.itemType && Double.compare(taxRate, that.taxRate) == 0 && Objects.equals(productGroup, that.productGroup) && Objects.equals(category, that.category) && Objects.equals(brand, that.brand) && Objects.equals(modelNumber, that.modelNumber) && Objects.equals(modelName, that.modelName) && Objects.equals(color, that.color) && Objects.equals(startDate, that.startDate) && Objects.equals(hsnCode, that.hsnCode);}@Overridepublic int hashCode() {return Objects.hash(rowIndex, productGroup, categoryId, category, brand, modelNumber, modelName, color, mrp, sp, mop, dp, tp, nlc, startDate, preferredVendor, risky, weight, itemType, taxRate, hsnCode);}@Overridepublic String toString() {return "ItemLoaderModel{" +"rowIndex=" + rowIndex +", productGroup='" + productGroup + '\'' +", categoryId=" + categoryId +", category='" + category + '\'' +", brand='" + brand + '\'' +", modelNumber='" + modelNumber + '\'' +", modelName='" + modelName + '\'' +", color='" + color + '\'' +", mrp=" + mrp +", sp=" + sp +", mop=" + mop +", dp=" + dp +", tp=" + tp +", nlc=" + nlc +", startDate=" + startDate +", preferredVendor=" + preferredVendor +", risky=" + risky +", weight=" + weight +", itemType=" + itemType +", taxRate=" + taxRate +", hsnCode='" + hsnCode + '\'' +'}';}}