package com.hai.entity; import java.io.Serializable; import java.util.Date; /** * api_kfc_stores * @author */ /** * * 代码由工具生成 * **/ public class ApiKfcStores implements Serializable { /** * 主键 */ private Long id; /** * 城市缩写 */ private String cityNameFirstLetter; /** * 城市编号 */ private String cityCode; /** * 城市名称 */ private String cityName; /** * 省份名称 */ private String provinceName; /** * 省份编号 */ private String provinceCode; /** * 肯德基城市id */ private Integer kfcCityId; /** * 肯德基城市编号 */ private String kfcCityCode; /** * 门店名称 */ private String storeName; /** * 门店编号 */ private String storeCode; /** * 经度 */ private String lon; /** * 纬度 */ private String lat; /** * 详细地址 */ private String address; /** * 开始营业时间 */ private String startTime; /** * 停止营业时间 */ private String endTime; /** * 门店状态 1:正常 3:订餐系统升级维护,需要前往该餐厅柜台点餐 199:异常,异常情况包括门店关闭、系统维护 */ private Integer storeStatus; /** * 上架状态 1:上架 2:下架 */ private Integer shelfStatus; private String distance; /** * 操作人员id */ private Long operatorId; /** * 操作人员名称 */ private String operatorName; /** * 创建时间 */ private Date createTime; /** * 更新时间 */ private Date updateTime; /** * 状态 100 正常 101 禁用 */ private Integer status; /** * ext_1 */ private String ext1; /** * ext_2 */ private String ext2; /** * ext_3 */ private String ext3; private static final long serialVersionUID = 1L; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getCityNameFirstLetter() { return cityNameFirstLetter; } public void setCityNameFirstLetter(String cityNameFirstLetter) { this.cityNameFirstLetter = cityNameFirstLetter; } public String getCityCode() { return cityCode; } public void setCityCode(String cityCode) { this.cityCode = cityCode; } public String getCityName() { return cityName; } public void setCityName(String cityName) { this.cityName = cityName; } public String getProvinceName() { return provinceName; } public void setProvinceName(String provinceName) { this.provinceName = provinceName; } public String getProvinceCode() { return provinceCode; } public void setProvinceCode(String provinceCode) { this.provinceCode = provinceCode; } public Integer getKfcCityId() { return kfcCityId; } public void setKfcCityId(Integer kfcCityId) { this.kfcCityId = kfcCityId; } public String getKfcCityCode() { return kfcCityCode; } public void setKfcCityCode(String kfcCityCode) { this.kfcCityCode = kfcCityCode; } public String getStoreName() { return storeName; } public void setStoreName(String storeName) { this.storeName = storeName; } public String getStoreCode() { return storeCode; } public void setStoreCode(String storeCode) { this.storeCode = storeCode; } public String getLon() { return lon; } public void setLon(String lon) { this.lon = lon; } public String getLat() { return lat; } public void setLat(String lat) { this.lat = lat; } public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } public String getStartTime() { return startTime; } public void setStartTime(String startTime) { this.startTime = startTime; } public String getEndTime() { return endTime; } public void setEndTime(String endTime) { this.endTime = endTime; } public Integer getStoreStatus() { return storeStatus; } public void setStoreStatus(Integer storeStatus) { this.storeStatus = storeStatus; } public Integer getShelfStatus() { return shelfStatus; } public void setShelfStatus(Integer shelfStatus) { this.shelfStatus = shelfStatus; } public String getDistance() { return distance; } public void setDistance(String distance) { this.distance = distance; } 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 getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } public Integer getStatus() { return status; } public void setStatus(Integer status) { this.status = status; } 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; } ApiKfcStores other = (ApiKfcStores) that; return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) && (this.getCityNameFirstLetter() == null ? other.getCityNameFirstLetter() == null : this.getCityNameFirstLetter().equals(other.getCityNameFirstLetter())) && (this.getCityCode() == null ? other.getCityCode() == null : this.getCityCode().equals(other.getCityCode())) && (this.getCityName() == null ? other.getCityName() == null : this.getCityName().equals(other.getCityName())) && (this.getProvinceName() == null ? other.getProvinceName() == null : this.getProvinceName().equals(other.getProvinceName())) && (this.getProvinceCode() == null ? other.getProvinceCode() == null : this.getProvinceCode().equals(other.getProvinceCode())) && (this.getKfcCityId() == null ? other.getKfcCityId() == null : this.getKfcCityId().equals(other.getKfcCityId())) && (this.getKfcCityCode() == null ? other.getKfcCityCode() == null : this.getKfcCityCode().equals(other.getKfcCityCode())) && (this.getStoreName() == null ? other.getStoreName() == null : this.getStoreName().equals(other.getStoreName())) && (this.getStoreCode() == null ? other.getStoreCode() == null : this.getStoreCode().equals(other.getStoreCode())) && (this.getLon() == null ? other.getLon() == null : this.getLon().equals(other.getLon())) && (this.getLat() == null ? other.getLat() == null : this.getLat().equals(other.getLat())) && (this.getAddress() == null ? other.getAddress() == null : this.getAddress().equals(other.getAddress())) && (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime())) && (this.getEndTime() == null ? other.getEndTime() == null : this.getEndTime().equals(other.getEndTime())) && (this.getStoreStatus() == null ? other.getStoreStatus() == null : this.getStoreStatus().equals(other.getStoreStatus())) && (this.getShelfStatus() == null ? other.getShelfStatus() == null : this.getShelfStatus().equals(other.getShelfStatus())) && (this.getDistance() == null ? other.getDistance() == null : this.getDistance().equals(other.getDistance())) && (this.getOperatorId() == null ? other.getOperatorId() == null : this.getOperatorId().equals(other.getOperatorId())) && (this.getOperatorName() == null ? other.getOperatorName() == null : this.getOperatorName().equals(other.getOperatorName())) && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (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()); result = prime * result + ((getCityNameFirstLetter() == null) ? 0 : getCityNameFirstLetter().hashCode()); result = prime * result + ((getCityCode() == null) ? 0 : getCityCode().hashCode()); result = prime * result + ((getCityName() == null) ? 0 : getCityName().hashCode()); result = prime * result + ((getProvinceName() == null) ? 0 : getProvinceName().hashCode()); result = prime * result + ((getProvinceCode() == null) ? 0 : getProvinceCode().hashCode()); result = prime * result + ((getKfcCityId() == null) ? 0 : getKfcCityId().hashCode()); result = prime * result + ((getKfcCityCode() == null) ? 0 : getKfcCityCode().hashCode()); result = prime * result + ((getStoreName() == null) ? 0 : getStoreName().hashCode()); result = prime * result + ((getStoreCode() == null) ? 0 : getStoreCode().hashCode()); result = prime * result + ((getLon() == null) ? 0 : getLon().hashCode()); result = prime * result + ((getLat() == null) ? 0 : getLat().hashCode()); result = prime * result + ((getAddress() == null) ? 0 : getAddress().hashCode()); result = prime * result + ((getStartTime() == null) ? 0 : getStartTime().hashCode()); result = prime * result + ((getEndTime() == null) ? 0 : getEndTime().hashCode()); result = prime * result + ((getStoreStatus() == null) ? 0 : getStoreStatus().hashCode()); result = prime * result + ((getShelfStatus() == null) ? 0 : getShelfStatus().hashCode()); result = prime * result + ((getDistance() == null) ? 0 : getDistance().hashCode()); result = prime * result + ((getOperatorId() == null) ? 0 : getOperatorId().hashCode()); result = prime * result + ((getOperatorName() == null) ? 0 : getOperatorName().hashCode()); result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); result = prime * result + ((getStatus() == null) ? 0 : getStatus().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); sb.append(", cityNameFirstLetter=").append(cityNameFirstLetter); sb.append(", cityCode=").append(cityCode); sb.append(", cityName=").append(cityName); sb.append(", provinceName=").append(provinceName); sb.append(", provinceCode=").append(provinceCode); sb.append(", kfcCityId=").append(kfcCityId); sb.append(", kfcCityCode=").append(kfcCityCode); sb.append(", storeName=").append(storeName); sb.append(", storeCode=").append(storeCode); sb.append(", lon=").append(lon); sb.append(", lat=").append(lat); sb.append(", address=").append(address); sb.append(", startTime=").append(startTime); sb.append(", endTime=").append(endTime); sb.append(", storeStatus=").append(storeStatus); sb.append(", shelfStatus=").append(shelfStatus); sb.append(", distance=").append(distance); sb.append(", operatorId=").append(operatorId); sb.append(", operatorName=").append(operatorName); sb.append(", createTime=").append(createTime); sb.append(", updateTime=").append(updateTime); sb.append(", status=").append(status); 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(); } }