Rev 23024 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.common.model;public class CustomShop {private int shopId;private String name;private int documentId;private CustomAddress address;private boolean sameAsRetailerAddress;public int getShopId() {return shopId;}public void setShopId(int shopId) {this.shopId = shopId;}public String getName() {return name;}public void setName(String name) {this.name = name;}public int getDocumentId() {return documentId;}public void setDocumentId(int documentId) {this.documentId = documentId;}public CustomAddress getAddress() {return address;}public void setAddress(CustomAddress address) {this.address = address;}public boolean isSameAsRetailerAddress() {return sameAsRetailerAddress;}public void setSameAsRetailerAddress(boolean sameAsRetailerAddress) {this.sameAsRetailerAddress = sameAsRetailerAddress;}@Overridepublic int hashCode() {final int prime = 31;int result = 1;result = prime * result + shopId;return result;}@Overridepublic boolean equals(Object obj) {if (this == obj)return true;if (obj == null)return false;if (getClass() != obj.getClass())return false;CustomShop other = (CustomShop) obj;if (shopId != other.shopId)return false;return true;}@Overridepublic String toString() {return "CustomShop [shopId=" + shopId + ", name=" + name + ", documentId=" + documentId + ", address=" + address+ ", sameAsRetailerAddress=" + sameAsRetailerAddress + "]";}}