Rev 31692 | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.common.model;import com.fasterxml.jackson.annotation.JsonProperty;import java.time.LocalDateTime;public class PartnerImeiNotSold implements ImeiDropSummaryModel {@JsonProperty("Id")private int retailerId;public int getRetailerId() {return retailerId;}public void setRetailerId(int retailerId) {this.retailerId = retailerId;}@JsonProperty("Code")private String partnerCode;@JsonProperty("Name")private String storeName;@JsonProperty("Item Id")private int itemId;@JsonProperty("Brand")private String brand;@JsonProperty("Model Name")private String modelName;@JsonProperty("Model Number")private String modelNumber;@JsonProperty("Color")private String color;@JsonProperty("Serial Number")private String serialNumber;@JsonProperty("Vendor Name")private String vendorName;@JsonProperty("Grn On")private LocalDateTime grnOn;@JsonProperty("Activation Timestamp")private LocalDateTime activationTimestamp;@JsonProperty("Activation Added On")private LocalDateTime activationAddedOn;public String getVendorName() {return vendorName;}public void setVendorName(String vendorName) {this.vendorName = vendorName;}public LocalDateTime getGrnOn() {return grnOn;}public void setGrnOn(LocalDateTime grnOn) {this.grnOn = grnOn;}@JsonProperty("Create Timestamp")private LocalDateTime lastScanned;@Overridepublic String getPartnerCode() {return partnerCode;}public void setPartnerCode(String partnerCode) {this.partnerCode = partnerCode;}public String getStoreName() {return storeName;}public void setStoreName(String storeName) {this.storeName = storeName;}public int getItemId() {return itemId;}public void setItemId(int itemId) {this.itemId = itemId;}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 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 String getSerialNumber() {return serialNumber;}public void setSerialNumber(String serialNumber) {this.serialNumber = serialNumber;}public LocalDateTime getLastScanned() {return lastScanned;}public void setLastScanned(LocalDateTime lastScanned) {this.lastScanned = lastScanned;}@Overridepublic int hashCode() {final int prime = 31;int result = 1;result = prime * result + ((activationAddedOn == null) ? 0 : activationAddedOn.hashCode());result = prime * result + ((activationTimestamp == null) ? 0 : activationTimestamp.hashCode());result = prime * result + ((brand == null) ? 0 : brand.hashCode());result = prime * result + ((color == null) ? 0 : color.hashCode());result = prime * result + itemId;result = prime * result + ((lastScanned == null) ? 0 : lastScanned.hashCode());result = prime * result + ((modelName == null) ? 0 : modelName.hashCode());result = prime * result + ((modelNumber == null) ? 0 : modelNumber.hashCode());result = prime * result + ((partnerCode == null) ? 0 : partnerCode.hashCode());result = prime * result + retailerId;result = prime * result + ((serialNumber == null) ? 0 : serialNumber.hashCode());result = prime * result + ((storeName == null) ? 0 : storeName.hashCode());result = prime * result + ((vendorName == null) ? 0 : vendorName.hashCode());return result;}@Overridepublic boolean equals(Object obj) {if (this == obj)return true;if (obj == null)return false;if (getClass() != obj.getClass())return false;PartnerImeiNotSold other = (PartnerImeiNotSold) obj;if (activationAddedOn == null) {if (other.activationAddedOn != null)return false;} else if (!activationAddedOn.equals(other.activationAddedOn))return false;if (activationTimestamp == null) {if (other.activationTimestamp != null)return false;} else if (!activationTimestamp.equals(other.activationTimestamp))return false;if (brand == null) {if (other.brand != null)return false;} else if (!brand.equals(other.brand))return false;if (color == null) {if (other.color != null)return false;} else if (!color.equals(other.color))return false;if (itemId != other.itemId)return false;if (lastScanned == null) {if (other.lastScanned != null)return false;} else if (!lastScanned.equals(other.lastScanned))return false;if (modelName == null) {if (other.modelName != null)return false;} else if (!modelName.equals(other.modelName))return false;if (modelNumber == null) {if (other.modelNumber != null)return false;} else if (!modelNumber.equals(other.modelNumber))return false;if (partnerCode == null) {if (other.partnerCode != null)return false;} else if (!partnerCode.equals(other.partnerCode))return false;if (retailerId != other.retailerId)return false;if (serialNumber == null) {if (other.serialNumber != null)return false;} else if (!serialNumber.equals(other.serialNumber))return false;if (storeName == null) {if (other.storeName != null)return false;} else if (!storeName.equals(other.storeName))return false;if (vendorName == null) {if (other.vendorName != null)return false;} else if (!vendorName.equals(other.vendorName))return false;return true;}public LocalDateTime getActivationTimestamp() {return activationTimestamp;}public void setActivationTimestamp(LocalDateTime activationTimestamp) {this.activationTimestamp = activationTimestamp;}public LocalDateTime getActivationAddedOn() {return activationAddedOn;}public void setActivationAddedOn(LocalDateTime activationAddedOn) {this.activationAddedOn = activationAddedOn;}@Overridepublic String toString() {return "PartnerImeiNotSold [retailerId=" + retailerId + ", partnerCode=" + partnerCode + ", storeName="+ storeName + ", itemId=" + itemId + ", brand=" + brand + ", modelName=" + modelName + ", modelNumber="+ modelNumber + ", color=" + color + ", serialNumber=" + serialNumber + ", vendorName=" + vendorName+ ", grnOn=" + grnOn + ", activationTimestamp=" + activationTimestamp + ", activationAddedOn="+ activationAddedOn + ", lastScanned=" + lastScanned + "]";}}