Rev 34006 | Go to most recent revision | 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 RbmTargetsModel {private int warehouseId;private int rbmAuthId;private String rbmName;private Float hidTarget;private Float eolTarget;private Float slowMovingTarget;private Float fastMovingTarget;private Float otherTarget;private LocalDateTime createTimestamp;public int getWarehouseId() {return warehouseId;}public void setWarehouseId(int warehouseId) {this.warehouseId = warehouseId;}public int getRbmAuthId() {return rbmAuthId;}public void setRbmAuthId(int rbmAuthId) {this.rbmAuthId = rbmAuthId;}public String getRbmName() {return rbmName;}public void setRbmName(String rbmName) {this.rbmName = rbmName;}public Float getHidTarget() {return hidTarget;}public void setHidTarget(Float hidTarget) {this.hidTarget = hidTarget;}public Float getEolTarget() {return eolTarget;}public void setEolTarget(Float eolTarget) {this.eolTarget = eolTarget;}public Float getSlowMovingTarget() {return slowMovingTarget;}public void setSlowMovingTarget(Float slowMovingTarget) {this.slowMovingTarget = slowMovingTarget;}public Float getFastMovingTarget() {return fastMovingTarget;}public void setFastMovingTarget(Float fastMovingTarget) {this.fastMovingTarget = fastMovingTarget;}public Float getOtherTarget() {return otherTarget;}public void setOtherTarget(Float otherTarget) {this.otherTarget = otherTarget;}public LocalDateTime getCreateTimestamp() {return createTimestamp;}public void setCreateTimestamp(LocalDateTime createTimestamp) {this.createTimestamp = createTimestamp;}@Overridepublic boolean equals(Object o) {if (this == o) return true;if (o == null || getClass() != o.getClass()) return false;RbmTargetsModel that = (RbmTargetsModel) o;return warehouseId == that.warehouseId && rbmAuthId == that.rbmAuthId && Objects.equals(rbmName, that.rbmName) && Objects.equals(hidTarget, that.hidTarget) && Objects.equals(eolTarget, that.eolTarget) && Objects.equals(slowMovingTarget, that.slowMovingTarget) && Objects.equals(fastMovingTarget, that.fastMovingTarget) && Objects.equals(otherTarget, that.otherTarget) && Objects.equals(createTimestamp, that.createTimestamp);}@Overridepublic int hashCode() {return Objects.hash(warehouseId, rbmAuthId, rbmName, hidTarget, eolTarget, slowMovingTarget, fastMovingTarget, otherTarget, createTimestamp);}@Overridepublic String toString() {return "RbmTargetsModel{" +"warehouseId=" + warehouseId +", rbmAuthId=" + rbmAuthId +", rbmName='" + rbmName + '\'' +", hidTarget=" + hidTarget +", eolTarget=" + eolTarget +", slowMovingTarget=" + slowMovingTarget +", fastMovingTarget=" + fastMovingTarget +", otherTarget=" + otherTarget +", createTimestamp=" + createTimestamp +'}';}}