Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.service.inventory;import java.time.LocalDateTime;import java.util.Objects;public class CatalogAgingModel {int catalogId;LocalDateTime agingDate;int exceedDays;public CatalogAgingModel(int catalogId, LocalDateTime agingDate, int exceedDays) {this.catalogId = catalogId;this.agingDate = agingDate;this.exceedDays = exceedDays;}public int getCatalogId() {return catalogId;}public void setCatalogId(int catalogId) {this.catalogId = catalogId;}public LocalDateTime getAgingDate() {return agingDate;}public void setAgingDate(LocalDateTime agingDate) {this.agingDate = agingDate;}public int getExceedDays() {return exceedDays;}public void setExceedDays(int exceedDays) {this.exceedDays = exceedDays;}@Overridepublic boolean equals(Object o) {if (this == o) return true;if (o == null || getClass() != o.getClass()) return false;CatalogAgingModel that = (CatalogAgingModel) o;return catalogId == that.catalogId && exceedDays == that.exceedDays && Objects.equals(agingDate, that.agingDate);}@Overridepublic int hashCode() {return Objects.hash(catalogId, agingDate, exceedDays);}@Overridepublic String toString() {return "CatalogAgingModel{" +"catalogId=" + catalogId +", agingDate=" + agingDate +", exceedDays=" + exceedDays +'}';}}