嗨森逛服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hai-server/hai-service/src/main/java/com/hai/entity/HighMerchantStore.java

541 lines
16 KiB

4 years ago
package com.hai.entity;
import java.io.Serializable;
import java.util.Date;
/**
* high_merchant_store
4 years ago
* @author
*/
/**
*
* 代码由工具生成
*
**/
4 years ago
public class HighMerchantStore implements Serializable {
4 years ago
/**
* 主键
*/
private Long id;
4 years ago
/**
3 years ago
* 类型 1加油站
4 years ago
*/
private Integer type;
3 years ago
/**
* 来源类型 1平台自建 2团油
*/
private Integer sourceType;
/**
* 品牌id
*/
private Long brandId;
/**
* 品牌名称
*/
private String brandName;
4 years ago
/**
* 区域
*/
private Long regionId;
/**
* 区域名称
*/
private String regionName;
4 years ago
/**
* 单位id
*/
private Long companyId;
/**
* 商户id
*/
private Long merchantId;
4 years ago
/**
* 门店logo
*/
private String storeLogo;
4 years ago
/**
* 门店编号
*/
private String storeKey;
/**
* 门店名称
*/
private String storeName;
/**
* 描述
*/
private String storeDesc;
/**
3 years ago
* 联系电话
4 years ago
*/
private String telephone;
3 years ago
/**
* 联系人
*/
private String contactName;
4 years ago
/**
4 years ago
* 商户地址
4 years ago
*/
private String address;
/**
* 状态0删除1正常
4 years ago
*/
private Integer status;
/**
4 years ago
* 商户地址经度
*/
private String longitude;
/**
4 years ago
* 商户地址纬度
*/
private String latitude;
3 years ago
/**
* 设备SN号
*/
private String deviceSn;
/**
* 设备Key号
*/
private String deviceKey;
/**
* 设备名称
*/
private String deviceName;
3 years ago
/**
* 预存类型 0非预存 1预存门店
*/
private Integer prestoreType;
4 years ago
/**
* 操作人id
*/
private Long operatorId;
/**
* 操作人名称
*/
private String operatorName;
/**
* 更新时间
*/
private Date updateTime;
/**
* 创建时间
*/
private Date createTime;
private String ext1;
private String ext2;
private String ext3;
private Double distance;
4 years ago
private HighMerchant highMerchant;
public Double getDistance() {
return distance;
}
public void setDistance(Double distance) {
this.distance = distance;
}
4 years ago
public HighMerchant getHighMerchant() {
return highMerchant;
}
public void setHighMerchant(HighMerchant highMerchant) {
this.highMerchant = highMerchant;
}
3 years ago
private static final long serialVersionUID = 1L;
4 years ago
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
4 years ago
public Integer getType() {
return type;
}
public void setType(Integer type) {
this.type = type;
}
3 years ago
public Integer getSourceType() {
return sourceType;
}
public void setSourceType(Integer sourceType) {
this.sourceType = sourceType;
}
public Long getBrandId() {
return brandId;
}
public void setBrandId(Long brandId) {
this.brandId = brandId;
}
public String getBrandName() {
return brandName;
}
public void setBrandName(String brandName) {
this.brandName = brandName;
}
4 years ago
public Long getRegionId() {
return regionId;
}
public void setRegionId(Long regionId) {
this.regionId = regionId;
}
public String getRegionName() {
return regionName;
}
public void setRegionName(String regionName) {
this.regionName = regionName;
}
4 years ago
public Long getCompanyId() {
return companyId;
}
public void setCompanyId(Long companyId) {
this.companyId = companyId;
}
public Long getMerchantId() {
return merchantId;
}
public void setMerchantId(Long merchantId) {
this.merchantId = merchantId;
}
4 years ago
public String getStoreLogo() {
return storeLogo;
}
public void setStoreLogo(String storeLogo) {
this.storeLogo = storeLogo;
}
4 years ago
public String getStoreKey() {
return storeKey;
}
public void setStoreKey(String storeKey) {
this.storeKey = storeKey;
}
public String getStoreName() {
return storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
}
public String getStoreDesc() {
return storeDesc;
}
public void setStoreDesc(String storeDesc) {
this.storeDesc = storeDesc;
}
public String getTelephone() {
return telephone;
}
public void setTelephone(String telephone) {
this.telephone = telephone;
}
3 years ago
public String getContactName() {
return contactName;
}
public void setContactName(String contactName) {
this.contactName = contactName;
}
4 years ago
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getLongitude() {
return longitude;
}
public void setLongitude(String longitude) {
this.longitude = longitude;
}
public String getLatitude() {
return latitude;
}
public void setLatitude(String latitude) {
this.latitude = latitude;
}
3 years ago
public String getDeviceSn() {
return deviceSn;
}
public void setDeviceSn(String deviceSn) {
this.deviceSn = deviceSn;
}
public String getDeviceKey() {
return deviceKey;
}
public void setDeviceKey(String deviceKey) {
this.deviceKey = deviceKey;
}
public String getDeviceName() {
return deviceName;
}
public void setDeviceName(String deviceName) {
this.deviceName = deviceName;
}
3 years ago
public Integer getPrestoreType() {
return prestoreType;
}
public void setPrestoreType(Integer prestoreType) {
this.prestoreType = prestoreType;
}
4 years ago
public Long getOperatorId() {
return operatorId;
}
public void setOperatorId(Long operatorId) {
this.operatorId = operatorId;
}
public String getOperatorName() {
return operatorName;
}
public void setOperatorName(String operatorName) {
this.operatorName = operatorName;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getExt1() {
return ext1;
}
public void setExt1(String ext1) {
this.ext1 = ext1;
}
public String getExt2() {
return ext2;
}
public void setExt2(String ext2) {
this.ext2 = ext2;
}
public String getExt3() {
return ext3;
}
public void setExt3(String ext3) {
this.ext3 = ext3;
}
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
HighMerchantStore other = (HighMerchantStore) that;
4 years ago
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
4 years ago
&& (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
3 years ago
&& (this.getSourceType() == null ? other.getSourceType() == null : this.getSourceType().equals(other.getSourceType()))
&& (this.getBrandId() == null ? other.getBrandId() == null : this.getBrandId().equals(other.getBrandId()))
&& (this.getBrandName() == null ? other.getBrandName() == null : this.getBrandName().equals(other.getBrandName()))
4 years ago
&& (this.getRegionId() == null ? other.getRegionId() == null : this.getRegionId().equals(other.getRegionId()))
&& (this.getRegionName() == null ? other.getRegionName() == null : this.getRegionName().equals(other.getRegionName()))
4 years ago
&& (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId()))
&& (this.getMerchantId() == null ? other.getMerchantId() == null : this.getMerchantId().equals(other.getMerchantId()))
4 years ago
&& (this.getStoreLogo() == null ? other.getStoreLogo() == null : this.getStoreLogo().equals(other.getStoreLogo()))
4 years ago
&& (this.getStoreKey() == null ? other.getStoreKey() == null : this.getStoreKey().equals(other.getStoreKey()))
&& (this.getStoreName() == null ? other.getStoreName() == null : this.getStoreName().equals(other.getStoreName()))
&& (this.getStoreDesc() == null ? other.getStoreDesc() == null : this.getStoreDesc().equals(other.getStoreDesc()))
&& (this.getTelephone() == null ? other.getTelephone() == null : this.getTelephone().equals(other.getTelephone()))
3 years ago
&& (this.getContactName() == null ? other.getContactName() == null : this.getContactName().equals(other.getContactName()))
4 years ago
&& (this.getAddress() == null ? other.getAddress() == null : this.getAddress().equals(other.getAddress()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
&& (this.getLongitude() == null ? other.getLongitude() == null : this.getLongitude().equals(other.getLongitude()))
&& (this.getLatitude() == null ? other.getLatitude() == null : this.getLatitude().equals(other.getLatitude()))
3 years ago
&& (this.getDeviceSn() == null ? other.getDeviceSn() == null : this.getDeviceSn().equals(other.getDeviceSn()))
&& (this.getDeviceKey() == null ? other.getDeviceKey() == null : this.getDeviceKey().equals(other.getDeviceKey()))
&& (this.getDeviceName() == null ? other.getDeviceName() == null : this.getDeviceName().equals(other.getDeviceName()))
3 years ago
&& (this.getPrestoreType() == null ? other.getPrestoreType() == null : this.getPrestoreType().equals(other.getPrestoreType()))
4 years ago
&& (this.getOperatorId() == null ? other.getOperatorId() == null : this.getOperatorId().equals(other.getOperatorId()))
&& (this.getOperatorName() == null ? other.getOperatorName() == null : this.getOperatorName().equals(other.getOperatorName()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getExt1() == null ? other.getExt1() == null : this.getExt1().equals(other.getExt1()))
&& (this.getExt2() == null ? other.getExt2() == null : this.getExt2().equals(other.getExt2()))
&& (this.getExt3() == null ? other.getExt3() == null : this.getExt3().equals(other.getExt3()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
4 years ago
result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
3 years ago
result = prime * result + ((getSourceType() == null) ? 0 : getSourceType().hashCode());
result = prime * result + ((getBrandId() == null) ? 0 : getBrandId().hashCode());
result = prime * result + ((getBrandName() == null) ? 0 : getBrandName().hashCode());
4 years ago
result = prime * result + ((getRegionId() == null) ? 0 : getRegionId().hashCode());
result = prime * result + ((getRegionName() == null) ? 0 : getRegionName().hashCode());
4 years ago
result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode());
result = prime * result + ((getMerchantId() == null) ? 0 : getMerchantId().hashCode());
4 years ago
result = prime * result + ((getStoreLogo() == null) ? 0 : getStoreLogo().hashCode());
4 years ago
result = prime * result + ((getStoreKey() == null) ? 0 : getStoreKey().hashCode());
result = prime * result + ((getStoreName() == null) ? 0 : getStoreName().hashCode());
result = prime * result + ((getStoreDesc() == null) ? 0 : getStoreDesc().hashCode());
result = prime * result + ((getTelephone() == null) ? 0 : getTelephone().hashCode());
3 years ago
result = prime * result + ((getContactName() == null) ? 0 : getContactName().hashCode());
4 years ago
result = prime * result + ((getAddress() == null) ? 0 : getAddress().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
result = prime * result + ((getLongitude() == null) ? 0 : getLongitude().hashCode());
result = prime * result + ((getLatitude() == null) ? 0 : getLatitude().hashCode());
3 years ago
result = prime * result + ((getDeviceSn() == null) ? 0 : getDeviceSn().hashCode());
result = prime * result + ((getDeviceKey() == null) ? 0 : getDeviceKey().hashCode());
result = prime * result + ((getDeviceName() == null) ? 0 : getDeviceName().hashCode());
3 years ago
result = prime * result + ((getPrestoreType() == null) ? 0 : getPrestoreType().hashCode());
4 years ago
result = prime * result + ((getOperatorId() == null) ? 0 : getOperatorId().hashCode());
result = prime * result + ((getOperatorName() == null) ? 0 : getOperatorName().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getExt1() == null) ? 0 : getExt1().hashCode());
result = prime * result + ((getExt2() == null) ? 0 : getExt2().hashCode());
result = prime * result + ((getExt3() == null) ? 0 : getExt3().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
4 years ago
sb.append(", type=").append(type);
3 years ago
sb.append(", sourceType=").append(sourceType);
sb.append(", brandId=").append(brandId);
sb.append(", brandName=").append(brandName);
4 years ago
sb.append(", regionId=").append(regionId);
sb.append(", regionName=").append(regionName);
4 years ago
sb.append(", companyId=").append(companyId);
sb.append(", merchantId=").append(merchantId);
4 years ago
sb.append(", storeLogo=").append(storeLogo);
4 years ago
sb.append(", storeKey=").append(storeKey);
sb.append(", storeName=").append(storeName);
sb.append(", storeDesc=").append(storeDesc);
sb.append(", telephone=").append(telephone);
3 years ago
sb.append(", contactName=").append(contactName);
4 years ago
sb.append(", address=").append(address);
sb.append(", status=").append(status);
sb.append(", longitude=").append(longitude);
sb.append(", latitude=").append(latitude);
3 years ago
sb.append(", deviceSn=").append(deviceSn);
sb.append(", deviceKey=").append(deviceKey);
sb.append(", deviceName=").append(deviceName);
3 years ago
sb.append(", prestoreType=").append(prestoreType);
4 years ago
sb.append(", operatorId=").append(operatorId);
sb.append(", operatorName=").append(operatorName);
sb.append(", updateTime=").append(updateTime);
sb.append(", createTime=").append(createTime);
sb.append(", ext1=").append(ext1);
sb.append(", ext2=").append(ext2);
sb.append(", ext3=").append(ext3);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
3 years ago
}