Rev 30197 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.model;import java.time.LocalDateTime;import java.util.Objects;public class SaholicCISModel {private int itemId;private int warehouseId;private String brand;private String modelName;private String categoryName;private String modelNumber;private String color;private Float dealerPrice;private LocalDateTime updatedOn;private String stateName;private String warehouseName;private Integer indent;private Integer tertiary;private Integer total;private Integer dlt;private Integer dlt15;private Integer d10to20;;private Integer d20to30;private Integer d30to45;private Integer d45to60;private Integer dgt60;public SaholicCISModel(int itemId, int warehouseId, String brand, String modelName, String categoryName,String modelNumber, String color, Float dealerPrice, LocalDateTime updatedOn, String stateName,String warehouseName, Integer indent, Integer tertiary, Integer total, Integer dlt, Integer dlt15, Integer d10to20,Integer d20to30, Integer d30to45, Integer d45to60, Integer dgt60) {super();this.itemId = itemId;this.warehouseId = warehouseId;this.brand = brand;this.modelName = modelName;this.categoryName = categoryName;this.modelNumber = modelNumber;this.color = color;this.dealerPrice = dealerPrice;this.updatedOn = updatedOn;this.stateName = stateName;this.warehouseName = warehouseName;this.indent = indent;this.tertiary = tertiary;this.total = total;this.dlt = dlt;this.dlt15 = dlt15;this.d10to20 = d10to20;this.d20to30 = d20to30;this.d30to45 = d30to45;this.d45to60 = d45to60;this.dgt60 = dgt60;}public int getItemId() {return itemId;}public void setItemId(int itemId) {this.itemId = itemId;}public int getWarehouseId() {return warehouseId;}public void setWarehouseId(int warehouseId) {this.warehouseId = warehouseId;}public String getBrand() {return brand;}public void setBrand(String brand) {this.brand = brand;}public String getModelName() {return modelName;}public void setModelName(String modelName) {this.modelName = modelName;}public String getCategoryName() {return categoryName;}public void setCategoryName(String categoryName) {this.categoryName = categoryName;}public String getModelNumber() {return modelNumber;}public void setModelNumber(String modelNumber) {this.modelNumber = modelNumber;}public String getColor() {return color;}public void setColor(String color) {this.color = color;}public Float getDealerPrice() {return dealerPrice;}public void setDealerPrice(Float dealerPrice) {this.dealerPrice = dealerPrice;}public LocalDateTime getUpdatedOn() {return updatedOn;}public void setUpdatedOn(LocalDateTime updatedOn) {this.updatedOn = updatedOn;}public String getStateName() {return stateName;}public void setStateName(String stateName) {this.stateName = stateName;}public String getWarehouseName() {return warehouseName;}public void setWarehouseName(String warehouseName) {this.warehouseName = warehouseName;}public Integer getIndent() {return indent;}public void setIndent(Integer indent) {this.indent = indent;}public Integer getTertiary() {return tertiary;}public void setTertiary(Integer tertiary) {this.tertiary = tertiary;}public Integer getTotal() {return total;}public void setTotal(Integer total) {this.total = total;}public Integer getDlt() {return dlt;}public void setDlt(Integer dlt) {this.dlt = dlt;}public Integer getDlt15() {return dlt15;}public void setDlt15(Integer dlt15) {this.dlt15 = dlt15;}public Integer getD10to20() {return d10to20;}public void setD10to20(Integer d10to20) {this.d10to20 = d10to20;}public Integer getD20to30() {return d20to30;}public void setD20to30(Integer d20to30) {this.d20to30 = d20to30;}public Integer getD30to45() {return d30to45;}public void setD30to45(Integer d30to45) {this.d30to45 = d30to45;}public Integer getD45to60() {return d45to60;}public void setD45to60(Integer d45to60) {this.d45to60 = d45to60;}public Integer getDgt60() {return dgt60;}public void setDgt60(Integer dgt60) {this.dgt60 = dgt60;}@Overridepublic boolean equals(Object o) {if (this == o) return true;if (o == null || getClass() != o.getClass()) return false;SaholicCISModel that = (SaholicCISModel) o;return itemId == that.itemId && warehouseId == that.warehouseId && Objects.equals(brand, that.brand) && Objects.equals(modelName, that.modelName) && Objects.equals(categoryName, that.categoryName) && Objects.equals(modelNumber, that.modelNumber) && Objects.equals(color, that.color) && Objects.equals(dealerPrice, that.dealerPrice) && Objects.equals(updatedOn, that.updatedOn) && Objects.equals(stateName, that.stateName) && Objects.equals(warehouseName, that.warehouseName) && Objects.equals(indent, that.indent) && Objects.equals(tertiary, that.tertiary) && Objects.equals(total, that.total) && Objects.equals(dlt, that.dlt) && Objects.equals(dlt15, that.dlt15) && Objects.equals(d10to20, that.d10to20) && Objects.equals(d20to30, that.d20to30) && Objects.equals(d30to45, that.d30to45) && Objects.equals(d45to60, that.d45to60) && Objects.equals(dgt60, that.dgt60);}@Overridepublic int hashCode() {return Objects.hash(itemId, warehouseId, brand, modelName, categoryName, modelNumber, color, dealerPrice, updatedOn, stateName, warehouseName, indent, tertiary, total, dlt, dlt15, d10to20, d20to30, d30to45, d45to60, dgt60);}@Overridepublic String toString() {return "SaholicCISModel{" +"itemId=" + itemId +", warehouseId=" + warehouseId +", brand='" + brand + '\'' +", modelName='" + modelName + '\'' +", categoryName='" + categoryName + '\'' +", modelNumber='" + modelNumber + '\'' +", color='" + color + '\'' +", dealerPrice=" + dealerPrice +", updatedOn=" + updatedOn +", stateName='" + stateName + '\'' +", warehouseName='" + warehouseName + '\'' +", indent=" + indent +", tertiary=" + tertiary +", total=" + total +", dlt=" + dlt +", dlt15=" + dlt15 +", d10to20=" + d10to20 +", d20to30=" + d20to30 +", d30to45=" + d30to45 +", d45to60=" + d45to60 +", dgt60=" + dgt60 +'}';}}