Rev 29062 | Go to most recent revision | 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.List;public class StoreTimelineModel {private int onboardingId;private String code;private String outletName;private String city;private LocalDateTime onboardingTimestamp;private LocalDateTime verificationTimestamp;private LocalDateTime storeCreatedTimestamp;private LocalDateTime trainingTimestamp;private LocalDateTime recceTimestamp;private LocalDateTime advanceStockTimestamp;private LocalDateTime brandingTimestamp;private LocalDateTime fullStockTimestamp;private LocalDateTime billingTimestamp;private LocalDateTime inaugrationTimestamp;private LocalDateTime finServicesTimestamp;private LocalDateTime promoterTimestamp;private List<OnBoardingTimelineModel> obtm;public List<OnBoardingTimelineModel> getObtm() {return obtm;}public void setObtm(List<OnBoardingTimelineModel> obtm) {this.obtm = obtm;}public StoreTimelineModel(int onboardingId, String code, String outletName, String city,LocalDateTime onboardingTimestamp, LocalDateTime verificationTimestamp, LocalDateTime storeCreatedTimestamp,LocalDateTime trainingTimestamp, LocalDateTime recceTimestamp, LocalDateTime advanceStockTimestamp,LocalDateTime brandingTimestamp, LocalDateTime fullStockTimestamp, LocalDateTime billingTimestamp,LocalDateTime inaugrationTimestamp, LocalDateTime finServicesTimestamp, LocalDateTime promoterTimestamp) {super();this.onboardingId = onboardingId;this.code = code;this.outletName = outletName;this.city = city;this.onboardingTimestamp = onboardingTimestamp;this.verificationTimestamp = verificationTimestamp;this.storeCreatedTimestamp = storeCreatedTimestamp;this.trainingTimestamp = trainingTimestamp;this.recceTimestamp = recceTimestamp;this.advanceStockTimestamp = advanceStockTimestamp;this.brandingTimestamp = brandingTimestamp;this.fullStockTimestamp = fullStockTimestamp;this.billingTimestamp = billingTimestamp;this.inaugrationTimestamp = inaugrationTimestamp;this.finServicesTimestamp = finServicesTimestamp;this.promoterTimestamp = promoterTimestamp;}public String getCity() {return city;}public void setCity(String city) {this.city = city;}public int getOnboardingId() {return onboardingId;}public void setOnboardingId(int onboardingId) {this.onboardingId = onboardingId;}public String getCode() {return code;}public void setCode(String code) {this.code = code;}public String getOutletName() {return outletName;}public void setOutletName(String outletName) {this.outletName = outletName;}public LocalDateTime getOnboardingTimestamp() {return onboardingTimestamp;}public void setOnboardingTimestamp(LocalDateTime onboardingTimestamp) {this.onboardingTimestamp = onboardingTimestamp;}public LocalDateTime getVerificationTimestamp() {return verificationTimestamp;}public void setVerificationTimestamp(LocalDateTime verificationTimestamp) {this.verificationTimestamp = verificationTimestamp;}public LocalDateTime getStoreCreatedTimestamp() {return storeCreatedTimestamp;}public void setStoreCreatedTimestamp(LocalDateTime storeCreatedTimestamp) {this.storeCreatedTimestamp = storeCreatedTimestamp;}public LocalDateTime getTrainingTimestamp() {return trainingTimestamp;}public void setTrainingTimestamp(LocalDateTime trainingTimestamp) {this.trainingTimestamp = trainingTimestamp;}public LocalDateTime getRecceTimestamp() {return recceTimestamp;}public void setRecceTimestamp(LocalDateTime recceTimestamp) {this.recceTimestamp = recceTimestamp;}public LocalDateTime getAdvanceStockTimestamp() {return advanceStockTimestamp;}public void setAdvanceStockTimestamp(LocalDateTime advanceStockTimestamp) {this.advanceStockTimestamp = advanceStockTimestamp;}public LocalDateTime getBrandingTimestamp() {return brandingTimestamp;}public LocalDateTime getBillingTimestamp() {return billingTimestamp;}public void setBillingTimestamp(LocalDateTime billingTimestamp) {this.billingTimestamp = billingTimestamp;}public void setBrandingTimestamp(LocalDateTime brandingTimestamp) {this.brandingTimestamp = brandingTimestamp;}public LocalDateTime getFullStockTimestamp() {return fullStockTimestamp;}public void setFullStockTimestamp(LocalDateTime fullStockTimestamp) {this.fullStockTimestamp = fullStockTimestamp;}public LocalDateTime getInaugrationTimestamp() {return inaugrationTimestamp;}public void setInaugrationTimestamp(LocalDateTime inaugrationTimestamp) {this.inaugrationTimestamp = inaugrationTimestamp;}public LocalDateTime getFinServicesTimestamp() {return finServicesTimestamp;}public void setFinServicesTimestamp(LocalDateTime finServicesTimestamp) {this.finServicesTimestamp = finServicesTimestamp;}public LocalDateTime getPromoterTimestamp() {return promoterTimestamp;}public void setPromoterTimestamp(LocalDateTime promoterTimestamp) {this.promoterTimestamp = promoterTimestamp;}@Overridepublic int hashCode() {final int prime = 31;int result = 1;result = prime * result + ((advanceStockTimestamp == null) ? 0 : advanceStockTimestamp.hashCode());result = prime * result + ((billingTimestamp == null) ? 0 : billingTimestamp.hashCode());result = prime * result + ((brandingTimestamp == null) ? 0 : brandingTimestamp.hashCode());result = prime * result + ((city == null) ? 0 : city.hashCode());result = prime * result + ((code == null) ? 0 : code.hashCode());result = prime * result + ((finServicesTimestamp == null) ? 0 : finServicesTimestamp.hashCode());result = prime * result + ((fullStockTimestamp == null) ? 0 : fullStockTimestamp.hashCode());result = prime * result + ((inaugrationTimestamp == null) ? 0 : inaugrationTimestamp.hashCode());result = prime * result + ((obtm == null) ? 0 : obtm.hashCode());result = prime * result + onboardingId;result = prime * result + ((onboardingTimestamp == null) ? 0 : onboardingTimestamp.hashCode());result = prime * result + ((outletName == null) ? 0 : outletName.hashCode());result = prime * result + ((promoterTimestamp == null) ? 0 : promoterTimestamp.hashCode());result = prime * result + ((recceTimestamp == null) ? 0 : recceTimestamp.hashCode());result = prime * result + ((storeCreatedTimestamp == null) ? 0 : storeCreatedTimestamp.hashCode());result = prime * result + ((trainingTimestamp == null) ? 0 : trainingTimestamp.hashCode());result = prime * result + ((verificationTimestamp == null) ? 0 : verificationTimestamp.hashCode());return result;}@Overridepublic boolean equals(Object obj) {if (this == obj)return true;if (obj == null)return false;if (getClass() != obj.getClass())return false;StoreTimelineModel other = (StoreTimelineModel) obj;if (advanceStockTimestamp == null) {if (other.advanceStockTimestamp != null)return false;} else if (!advanceStockTimestamp.equals(other.advanceStockTimestamp))return false;if (billingTimestamp == null) {if (other.billingTimestamp != null)return false;} else if (!billingTimestamp.equals(other.billingTimestamp))return false;if (brandingTimestamp == null) {if (other.brandingTimestamp != null)return false;} else if (!brandingTimestamp.equals(other.brandingTimestamp))return false;if (city == null) {if (other.city != null)return false;} else if (!city.equals(other.city))return false;if (code == null) {if (other.code != null)return false;} else if (!code.equals(other.code))return false;if (finServicesTimestamp == null) {if (other.finServicesTimestamp != null)return false;} else if (!finServicesTimestamp.equals(other.finServicesTimestamp))return false;if (fullStockTimestamp == null) {if (other.fullStockTimestamp != null)return false;} else if (!fullStockTimestamp.equals(other.fullStockTimestamp))return false;if (inaugrationTimestamp == null) {if (other.inaugrationTimestamp != null)return false;} else if (!inaugrationTimestamp.equals(other.inaugrationTimestamp))return false;if (obtm == null) {if (other.obtm != null)return false;} else if (!obtm.equals(other.obtm))return false;if (onboardingId != other.onboardingId)return false;if (onboardingTimestamp == null) {if (other.onboardingTimestamp != null)return false;} else if (!onboardingTimestamp.equals(other.onboardingTimestamp))return false;if (outletName == null) {if (other.outletName != null)return false;} else if (!outletName.equals(other.outletName))return false;if (promoterTimestamp == null) {if (other.promoterTimestamp != null)return false;} else if (!promoterTimestamp.equals(other.promoterTimestamp))return false;if (recceTimestamp == null) {if (other.recceTimestamp != null)return false;} else if (!recceTimestamp.equals(other.recceTimestamp))return false;if (storeCreatedTimestamp == null) {if (other.storeCreatedTimestamp != null)return false;} else if (!storeCreatedTimestamp.equals(other.storeCreatedTimestamp))return false;if (trainingTimestamp == null) {if (other.trainingTimestamp != null)return false;} else if (!trainingTimestamp.equals(other.trainingTimestamp))return false;if (verificationTimestamp == null) {if (other.verificationTimestamp != null)return false;} else if (!verificationTimestamp.equals(other.verificationTimestamp))return false;return true;}@Overridepublic String toString() {return "StoreTimelineModel [onboardingId=" + onboardingId + ", code=" + code + ", outletName=" + outletName+ ", onboardingTimestamp=" + onboardingTimestamp + ", verificationTimestamp=" + verificationTimestamp+ ", storeCreatedTimestamp=" + storeCreatedTimestamp + ", trainingTimestamp=" + trainingTimestamp+ ", recceTimestamp=" + recceTimestamp + ", advanceStockTimestamp=" + advanceStockTimestamp+ ", brandingTimestamp=" + brandingTimestamp + ", fullStockTimestamp=" + fullStockTimestamp+ ", billingTimestamp=" + billingTimestamp + ", inaugrationTimestamp=" + inaugrationTimestamp+ ", finServicesTimestamp=" + finServicesTimestamp + ", promoterTimestamp=" + promoterTimestamp + "]";}}