Rev 33845 | 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 String filledBy;private String status;private LocalDateTime onboardingTimestamp;private LocalDateTime wod;private LocalDateTime woFinMapping;private LocalDateTime loiFormTimestamp;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, String filledBy, String status,LocalDateTime onboardingTimestamp, LocalDateTime loiFormTimestamp, LocalDateTime verificationTimestamp, LocalDateTime storeCreatedTimestamp,LocalDateTime wod, LocalDateTime woFinMapping,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.filledBy = filledBy;this.status = status;this.onboardingTimestamp = onboardingTimestamp;this.verificationTimestamp = verificationTimestamp;this.storeCreatedTimestamp = storeCreatedTimestamp;this.wod = wod;this.woFinMapping = woFinMapping;this.loiFormTimestamp = loiFormTimestamp;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 getFilledBy() {return filledBy;}public void setFilledBy(String filledBy) {this.filledBy = filledBy;}public LocalDateTime getLoiFormTimestamp() {return loiFormTimestamp;}public void setLoiFormTimestamp(LocalDateTime loiFormTimestamp) {this.loiFormTimestamp = loiFormTimestamp;}public LocalDateTime getWod() {return wod;}public void setWod(LocalDateTime wod) {this.wod = wod;}public LocalDateTime getWoFinMapping() {return woFinMapping;}public void setWoFinMapping(LocalDateTime woFinMapping) {this.woFinMapping = woFinMapping;}public String getStatus() {return status;}public void setStatus(String status) {this.status = status;}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 + ((status == null) ? 0 : status.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 (status == null) {if (other.status != null)return false;} else if (!status.equals(other.status))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 + '\'' +", city='" + city + '\'' +", filledBy='" + filledBy + '\'' +", status='" + status + '\'' +", onboardingTimestamp=" + onboardingTimestamp +", wod=" + wod +", woFinMapping=" + woFinMapping +", loiFormTimestamp=" + loiFormTimestamp +", verificationTimestamp=" + verificationTimestamp +", storeCreatedTimestamp=" + storeCreatedTimestamp +", trainingTimestamp=" + trainingTimestamp +", recceTimestamp=" + recceTimestamp +", advanceStockTimestamp=" + advanceStockTimestamp +", brandingTimestamp=" + brandingTimestamp +", fullStockTimestamp=" + fullStockTimestamp +", billingTimestamp=" + billingTimestamp +", inaugrationTimestamp=" + inaugrationTimestamp +", finServicesTimestamp=" + finServicesTimestamp +", promoterTimestamp=" + promoterTimestamp +", obtm=" + obtm +'}';}}